reaction-logic-2010.11.17: pluggable pure logic serializable reactor

Data.Reactor.Untypeds

Synopsis

Documentation

data Untyped Source

A box to contain any value

Constructors

forall b . Typeable b => Untyped b 

casting :: (Typeable a, Typeable c) => (a -> b) -> c -> Maybe bSource

data Serial Source

A box to contain a serializable

Constructors

forall b . (Read b, Show b, Typeable b) => Serial b 

Instances

parseSerial :: [Serial] -> Serial -> Maybe SerialSource

Try to parse a string into a Serial box. It needs some hints on which types could go inside the box

type ParseSerial a = (Serial -> Maybe Serial) -> a -> Maybe aSource