[erlang-bugs] Match error when mapping a list of maps with anonymous functions in the shell

Björn-Egil Dahlberg egil@REDACTED
Tue Apr 29 15:17:52 CEST 2014


On 2014-04-29 15:08, Fred Hebert wrote:
> (X=#{})#{x => (fun (Y) -> X = Y end)(ok).

I tested this,

     (X=#{})#{x => (fun (Y) -> X = Y end)(#{}) }.


I think I see a scoping error with respect to X =(






More information about the erlang-bugs mailing list