[erlang-questions] bug: Can't have variables in keys?

Charles Irvine <>
Sat Feb 22 22:02:54 CET 2014


I suppose that this is a known bug…..

9> X = x.
x
10> #{X => y}.
# 1: illegal use of variable ‘X’ in map


More information about the erlang-questions mailing list