[Haskell-beginners] fmap fmap

Michael P Mossey mpm at alumni.caltech.edu
Tue Aug 4 21:02:29 EDT 2009


How does one write

fmap (fmap (*2)) xs

without parenthesis? (Using . and $ instead.)

I don't really understand . and $ well enough I guess. I tried a bunch of stuff 
but nothing worked.

-Mike


More information about the Beginners mailing list