GHCI parse bug?

Bryn Keller brk@jenkon.com
Wed, 16 Oct 2002 11:21:45 -0700


Prelude> let f = \x->\y->\z->x (map (+ y) z)
<interactive>:1: parse error on input `->\'
Prelude> let f = \x-> \y-> \z-> x (map (+ y) z)
Prelude>

Are the spaces really necessary, or is this a bug?

Thanks,

Bryn