Copyright | Copyright (C) 2010 Uwe Schmidt |
---|---|
License | MIT |
Maintainer | Uwe Schmidt (uwe\@fh-wedel.de) |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Implementation of list arrows with a state
Documentation
list arrow combined with a state
fromSLA :: ArrowList a => s -> SLA s b c -> a b c Source
conversion of state list arrows into arbitray other list arrows.
allows running a state list arrow within another arrow:
example:
... >>> fromSLA 0 (... setState ... getState ... ) >>> ...
runs a state arrow with initial state 0 (e..g. an Int) within another arrow sequence