variable '_' is unbound

Vance Shipley vances@REDACTED
Wed May 29 02:48:24 CEST 2002


> foo(Arg) when bar == Arg;
>          (is_binary(Arg) and ((Arg band <<16, 0>>) == <<16,0>>))  ->

Ahhh, no.  I guess I'll have to live with:

	foo(<<_:3, 1:1, _:12>>) ->
		foo(bar);
	foo(bar) ->
		...


     -Vance



More information about the erlang-questions mailing list