[Haskell-cafe] Binding of an integer variable

Albert Y. C. Lai trebla at vex.net
Thu Jul 28 21:19:20 CEST 2011


Another fun example:

let c = 0 : c
let b = 1 : 1 : c
:show bindings
length (take 5 c)
:show bindings
take 3 c
:show bindings



More information about the Haskell-Cafe mailing list