Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Your favourite Haskell Haikus

Name: Anonymous 2015-03-01 18:12

Post your favourite Haskell Haikus! I'll start:

Prelude> foldl (+) 0 [1..100000000]
<interactive>: out of memory

Prelude> foldr (+) 0 [1..100000000]
<interactive>: out of memory

Prelude> id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id id 1
<interactive>: out of memory

Name: Anonymous 2015-03-01 23:04

>>8
I mean the implementation should recognize (+) as associative and maybe spin up a few threads to do it in parallel. Or don't bother.

Dude, I think that for starters not actually dying would be kinda neat.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List