[Haskell-beginners] Please explain the "$ \foo ->do" idiom

Stephen Tetley stephen.tetley at gmail.com
Sat Feb 9 11:45:27 CET 2013


> I really wish, someone could elaborate on this "$ \foo ->do" pattern,

If you are using it in the IO monad consider it as "using a handle"
(cf. a file handle or network connection) - as you go outside the IO
monad you'll note that a "handle" is really quite a general thing.



More information about the Beginners mailing list