I personally don't see anything wrong with moving bit operators into a library. The vast majority of programmers don't need them, and most have likely never used them. We just have too much memory to worry about bitpacking, so unless you're at the protocol level. For that, there may be better solutions in Haskell (I don't know), but there definitely are better solutions in Erlang.
http://erlang.org/documentation/doc-5.4.12/doc/programming_examples/bit_...
There are some great examples in the Programming Erlang book in how this gets used in practice.
Recent comments
4 weeks 3 days ago
7 weeks 9 hours ago
7 weeks 4 days ago
8 weeks 9 hours ago
8 weeks 9 hours ago
8 weeks 9 hours ago
9 weeks 5 days ago
10 weeks 5 days ago
12 weeks 6 days ago
12 weeks 6 days ago