Donald Bruce Stewart 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 #haskel
G'day all.
Quoting Dan Mead <[EMAIL PROTECTED]>:
> is that your implementation of LOLCODE?
O HAI IM IN UR CODE
REDUCIN' UR REDEKZEZ
BURNIN' UR MEGAHURTZ
Cheers,
Andrew Bromage
P.S. This is harder than writing l33t.
___
Ha
d.w.mead:
>
>is that your implementation of LOLCODE?
>:P
>
>On 5/29/07, Donald Bruce Stewart <[EMAIL PROTECTED]>
>wrote:
>
> We got the names wrong!
>
> data PLZ a = AWSUM_THX a | O_NOES String
>
> instance Monad PLZ where
> return=
is that your implementation of LOLCODE?
:P
On 5/29/07, Donald Bruce Stewart <[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
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
___