[Haskell-cafe] Missing Symbol (2)

PR Stanley prstanley at ntlworld.com
Wed Sep 19 02:17:08 EDT 2007


Hi
Here's another one:
f [] = v
f (x:xs) = x . f xs
The "." is supposed to denote a generic operator - f [] maps to some 
value v and applied to non-empty list applies head to ? operator.
Thanks, Paul



More information about the Haskell-Cafe mailing list