hoodle-core-0.11: Core library for hoodle

PortabilityGHC
Stabilityexperimental
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Safe HaskellNone

Hoodle.Accessor

Description

 

Synopsis

Documentation

applyActionToAllCVS :: (CanvasId -> MainCoroutine ()) -> MainCoroutine ()Source

apply an action to all canvases

updateFlagFromToggleUISource

Arguments

:: String

UI toggle button id

-> Simple Lens HoodleState Bool

lens for flag

-> MainCoroutine Bool 

update flag in HoodleState when corresponding toggle UI changed

setToggleUIForFlagSource

Arguments

:: String 
-> Simple Lens HoodleState Bool

lens for flag

-> HoodleState 
-> IO Bool 

set toggle UI button to the corresponding HoodleState