[Haskell-cafe] What on earth

PR Stanley prstanley at ntlworld.com
Thu Sep 20 02:40:18 EDT 2007


Hi
tfoldr (-) 1 [4,3]
= 4-3-(-1)
= 2
A similar thing happens with foldr (/) 2 [8,2] = 8.0
I thought foldr \oplus v [] = v
Any ideas?
Thanks, Paul



More information about the Haskell-Cafe mailing list