Difference between revisions of "Cuteness"

From HaskellWiki
Jump to: navigation, search
(initial edit: @pl)
(Page does not seem in keeping with desire to make Haskell community inclusive)
Line 1: Line 1:
It might be fun to have a central repository of "cute" haskell code.
For example, this is a [[lambdabot]] command from the [[IRC_channel|#haskell IRC channel]]:
<code>heatsink: <hask>@pl (\y -> you y off)</hask></code>
When you evaluate it, you get: <hask>flip you off</hask>.
Another example is the [http://coder.bsimmons.name/blog/2009/04/the-total-recall-combinator/ Total Recall Combinator], whose name is obvious if you've seen the eponymous movie:
<hask>(.:) = (.)(.)(.)</hask>
No doubt some enterprising soul could scan through the [[Haskell Weekly News]] quotes section and find a lot more of this stuff.

Latest revision as of 12:19, 2 October 2020