[erlang-questions] documentation bug in R12B-0: 6.23 Bit String Comprehensions

Attila Babo babo.online@REDACTED
Thu Dec 6 14:53:16 CET 2007


Hello,

chapter 6.23 Bit String Comprehensions in the latest HTML
documentation package has a bug in the example code.

Original:
1> << << X*2 >> ||
<<X>> <= << 1,2,3 >> >>.
<<2,4,6>>

Correct:
1> << << (X*2) >> ||
<<X>> <= << 1,2,3 >> >>.
<<2,4,6>>

Regards:
Attila



More information about the erlang-questions mailing list