Hi
length = foldr (. n . 1 + n) 0
Any idea how to define length with foldr. The above definition doesn't make much sense.
Many thanks, Paul

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to