[erlang-questions] binary syntax bug?

Serge Aleynikov saleyn@REDACTED
Thu Oct 16 13:47:38 CEST 2008


Expected:

1> <<(16#01020304):32/integer>>.
<<1,2,3,4>>
2> <<16909060/integer>>.
* 3: syntax error before: '<<'

Unexpected:

1> <<16#01020304/integer>>.
<<4>>
2> <<(16#01020304)/integer>>.
<<4>>

Serge



More information about the erlang-questions mailing list