On Thu, 30 Aug 2007, Peter Verswyvelen wrote: > infixl 0 \> -- I just took the first weird symbol combination that came to > mind, this does not mean anything (I hope ;-) > > x \> fx = fx x > > f x = x * scale \> \x -> > x + transform \> \x -> > g x > > like this you don't have to invent new names, and you don't have to type > much more. > > I'm sure this silly sequencing operator must already exist in the library > somewhere?
Sure, its name is (>>=). It must be used for the Identity monad, as mentioned by Derek Elkins earlier in this thread. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe