On Oct 29, 2007, at 3:36 , Tim Newsham wrote:

or go through the trouble of defining a bunch of binops

   f <+> g = liftM2 (+) f g
   n +>  g = return n <+> g
   f <+  n = f <+> return n
   read' = liftM read

This looks a lot like Control.Applicative to me.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to