from http://www.erlang.org/doc/reference_manual/part_frame.html 6.16 Bit Syntax Expressions Type= integer| float|binarybytes|bitstring|bits The default is integer, bytes is a shorthand for binary and bits is a shorthand for bitstring i guess there is a missing pipe -> binary | bytes