/binary problem in R10B

Vance Shipley vances@REDACTED
Tue Nov 2 18:19:44 CET 2004


I keep looking at this thinking I must be doing something wrong as
it couldn't possibly be that broken.  Maybe this works on the PC
platform.  I have tested on Solaris SPARC and OS X.

An example from the reference manual:

Eshell V5.4  (abort with ^G)
1> <<G,H/binary>> = <<1,17,42:16>>.
** exited: {{illegal_pattern,{bin,1,
                                  [{bin_element,
                                       1,
                                       {var,1,'G'},
                                       {integer,1,8},
                                       [integer,{unit,1},unsigned,big]},
                                   {bin_element,
                                       1,
                                       {var,1,'H'},
                                       {atom,1,all},
                                       [binary,{unit,8},unsigned,big]}]}},
            [{erl_eval,expr,3}]} **




More information about the erlang-questions mailing list