icidasset/elm-binary/1.1.0

NOTE: the latest version is 2.1.0

Binary

Work with sequences of binary numbers.

>>> [ 1, 0, 0, 0 ]
..>   |> Binary.fromIntegers
..>   |> Binary.shiftRightBy 1
..>   |> Binary.toDecimal
4
>>> 4
..>   |> Binary.fromDecimal
..>   |> Binary.shiftLeftBy 1
..>   |> Binary.toIntegers
[ 1, 0, 0, 0 ]