Densely packed decimal encoding for Haskell