[erlang-patches] Scan "=<<" as something useful

Per Hedeland <>
Mon Apr 29 14:37:41 CEST 2013

Anthony Ramine <> wrote:
>If I read the documentation, I don't see anywhere where it is written that erl_scan is supposed to be greedy. Nor I see any syntax knowledge if we just say that erl_scan will avoid returning two consecutive comparison operators if it can. That is just knowledge that '=<' '<' makes no sense, and I can't think of any language where it does.

1> A = <<17>>.   
2> A=<<<42>>.   

So will this useful:-) syntax break with the patch? (I haven't looked at

--Per Hedeland

More information about the erlang-patches mailing list