[erlang-questions] doc: error in the example for bit string comprehension

Bjorn Gustavsson bjorn@REDACTED
Thu Dec 6 15:55:24 CET 2007


igwan <igwan@REDACTED> writes:

> It seems that the parenthesis around X*2 were ommited
> 
> 1> << << (X*2) >> || <<X>> <= << 1,2,3 >> >>.
> <<2,4,6>>
> 
> works as expected.

Thanks! We will correct it in R12B-1.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list