 | SybWidget-0.5.0: Library which aids constructing generic (SYB3-based) widgets | Contents | Index |
|
| Graphics.UI.SybWidget.MySYB |
|
|
| Description |
This module reexports the SYB3 library.
It also makes some extensions to SYB3, namely getFieldFun and
setFieldFun.
|
|
| Synopsis |
|
| constructors :: Data ctx a => Proxy ctx -> a -> [Constr] | | | getFieldFun :: forall a m ctx. (Typeable a, Data ctx m) => Proxy ctx -> Int -> m -> a | | | setFieldFun :: forall m a ctx. (Data ctx m, Typeable a) => Proxy ctx -> Int -> m -> a -> m | | | gToString :: (Show a, Typeable a) => a -> String |
|
|
| Documentation |
|
| constructors :: Data ctx a => Proxy ctx -> a -> [Constr] |
| Returns a set of constructors. This function is
undefined for Int, Float, Double and Char
|
|
| getFieldFun :: forall a m ctx. (Typeable a, Data ctx m) => Proxy ctx -> Int -> m -> a |
| A get field fun: parent -> child
|
|
| setFieldFun :: forall m a ctx. (Data ctx m, Typeable a) => Proxy ctx -> Int -> m -> a -> m |
| A set field fun: parent -> child -> parent
|
|
| gToString :: (Show a, Typeable a) => a -> String |
| Function is similar to show, except that strings are shown without escaped ".
|
|
| Produced by Haddock version 2.1.0 |