class FudgetIO a where waitForMsg :: (KEvent b -> Maybe c) -> Cont (a b d) c putMsg :: KCommand e -> a f e -> a f e
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.
IO operations: haskellIO, createGCtx.