Twan van Laarhoven <twanvl <at> gmail.com> writes:Interesting question, what does Scala do for this? I guess there would be a
> If you write
>
> map (foo 4 'f' (bar _) 5 'j')
>
> How would the compiler know whether you meant
>
> map (\x -> foo 4 'f' (bar x) 5 'j')
> or
> map (foo 4 'f' (\x -> bar x) 5 'j')
> ?
rule of always binding to the outermost or innermost scope.
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners