ยค FudgetIO

Types

class FudgetIO f where
   waitForMsg :: (KEvent hi -> Maybe ans) -> Cont (f hi ho) ans
   putMsg :: KCommand ho -> f hi ho -> f hi ho
instance FudgetIO F
instance FudgetIO K

Description

The purpose of the FudgetIO class is to allow the many IO operations that can be performed from both fudgets and fudget kernels, e.g., haskellIO, createGC, loadQueryFont and allocNamedColor, to use one overloaded name instead of two separate names.

See Also

Types: F, K.

IO operations: haskellIO, createGCtx.