[Haskell-beginners] anonymous arguments

harry voldermort at hotmail.com
Sun Dec 29 12:17:20 UTC 2013


Is there any reason not to include Scala-like anonymous arguments in
Haskell? For example, I would like to write
  map (\x -> foo x 3)
as
  map (foo _ 3)

The named argument in this and similar cases adds nothing but visual and
namespace clutter.



More information about the Beginners mailing list