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

Fibonacci

Name: Anonymous 2007-07-24 19:07 ID:DzKI9Xsx


fibs :: [Int]
fibs = 0 : 1 : [ a + b | (a, b) <- zip fibs (tail fibs)]

Fibonacci

Name: Anonymous 2007-07-27 13:41 ID:t7FojlNs

>>27
Whoops. I glanced at it and saw no sqrt and something that looked vaguely recursive.

What's with the + in "return+"?

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