Cuteness

From HaskellWiki
Revision as of 20:26, 13 April 2009 by Nathanic (talk | contribs) (initial edit: @pl)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

It might be fun to have a central repository of "cute" haskell code.

For example, this is a lambdabot command from the #haskell IRC channel:

heatsink: @pl (\y -> you y off)

When you evaluate it, you get: flip you off.

Another example is the Total Recall Combinator, whose name is obvious if you've seen the eponymous movie:

(.:) = (.)(.)(.)

No doubt some enterprising soul could scan through the Haskell Weekly News quotes section and find a lot more of this stuff.