Bit syntax change

Chandrashekhar Mullaparthi <>
Mon Nov 19 13:55:34 CET 2001


I have you noticed this change in behaviour.

R7B:

16> <<A:1, ARest/binary>> = <<1,2>>.
** exited: {{badmatch,<<1,2>>},[{erl_eval,expr,3}]} **                     

R8B:

30> <<A:1, ARest/binary>> = <<1,2>>.
<<1,2>>
31> A.
0
32> ARest.
{[0,0,0,0,0,0,1],
 7,
 <<2>>}
33> 

Not reflected anywhere in the documentation.

cheers,
Chandru



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list