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
44 min 19 sec ago
3 hours 39 min ago
3 hours 39 min ago
13 hours 53 min ago
15 hours 21 min ago
15 hours 21 min ago
15 hours 21 min ago
22 hours 38 min ago
2 weeks 3 days ago
4 weeks 4 days ago