uni-util-2.3.0.3: Utilities for the uniform workbench
Safe HaskellNone
LanguageHaskell2010

Util.VariableSetBlocker

Description

Blockers are used to implement variable set sources which can be turned on and off. They are indexed by a BlockID.

Documentation

data BlockID Source #

Instances

Instances details
Eq BlockID Source # 
Instance details

Defined in Util.VariableSetBlocker

Methods

(==) :: BlockID -> BlockID -> Bool #

(/=) :: BlockID -> BlockID -> Bool #

Ord BlockID Source # 
Instance details

Defined in Util.VariableSetBlocker

openBlocker :: HasKey a key => Blocker a -> BlockID -> IO () Source #

closeBlocker :: HasKey a key => Blocker a -> BlockID -> IO () Source #

newBlockerWithPreAction :: HasKey a key => VariableSetSource a -> ([a] -> IO ()) -> IO (Blocker a) Source #