Paterson, Ross r.pater...@city.ac.uk wrote:
See the GHC Arrow notation documentation for more about the banana
brackets, which let you use user-defined control structures like
event.
I have reread the documentation now. It seems that there are a lot of
syntactic constructs, which I've
Hello fellow Haskellers,
this is a proposal to extend the arrow notation (-XArrows). I find
myself writing the following very often:
system :: Wire IO () String
system =
proc _ - do
botAddPeriod - succ ^ noise - ()
botAddSpeed - noise1 - ()
I think this proposal makes so much sense that I'm surprised it didn't
already work this way.
- Jake
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Ertugrul Soeylemez writes:
I find myself writing the following very often:
system :: Wire IO () String
system =
proc _ - do
botAddPeriod - succ ^ noise - ()
botAddSpeed - noise1 - ()
botAddStart - noise1 - ()
botMsg - event