Units of measure prototype for GHC Haskell