[Haskell-cafe] data PLZ a

Dan Mead d.w.mead at gmail.com
Tue May 29 03:23:44 EDT 2007


is that your implementation of LOLCODE?

:P

On 5/29/07, Donald Bruce Stewart <dons at cse.unsw.edu.au> wrote:
>
> We got the names wrong!
>
>     data PLZ a = AWSUM_THX a | O_NOES String
>
>     instance Monad PLZ where
>         return            = AWSUM_THX
>         fail              = O_NOES
>         O_NOES s    >>= _ = O_NOES s
>         AWSUM_THX x >>= f = f x
>
> Thanks to mauke on #haskell.
>
> -- Don
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070529/49a405c7/attachment.htm


More information about the Haskell-Cafe mailing list