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

Loïc Hoguin <>
Mon Apr 29 15:23:58 CEST 2013


On 04/29/2013 03:14 PM, Raimo Niskanen wrote:
 >> One final straw back then was this: the typo "A=<<<1>>" accidentally
 >> becomes valid syntax with the proposed change.
 >
 > ...that was wrong; rather that intending to write "A =< << 1 >>" without
 > spaces as "A=<<<1>>" and misspelling to "A=<<1>>" would give no compiler
 > error and unexpected runtime behaviour...

How often have you encountered code that had this form? I never have, 
and I use binaries everyday.

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu


More information about the erlang-patches mailing list