Speaking of small functions

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Oct 29 13:13:46 EST 2006


Hello kahl,

Sunday, October 29, 2006, 5:30:41 PM, you wrote:

> My notation is (=>>=), to go with (>>=).

and my is .>>= to reflect that it is like (.)

i've used for years the following definitions:

infixl 1  >>==, ==<<, =<<., .>>=, .>>, .>>==, ==<<.
a>>==b       =  a >>= return.b
a==<<b       =  return.a =<< b   
(a=<<.b) c   =  a =<< b c        
(a.>>=b) c   =  a c >>= b        
(a.>>b)  c   =  a c >> b         
(a==<<.b) c  =  return.a =<< b c 
(a.>>==b) c  =  a c >>= return.b 


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Libraries mailing list