Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Donald Bruce Stewart <dons <at> cse.unsw.edu.au>
Subject: Re: data PLZ a
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Tuesday 29th May 2007 07:26:21 UTC (over 10 years ago)
d.w.mead:
> 
>    is that your implementation of LOLCODE?
>    :P
> 
>    On 5/29/07, Donald Bruce Stewart <[1][email protected]>
>    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

Yeah. Someone want to finish off LOLCODE as a EDSL? :-)

-- Don
 
CD: 3ms