Comment Comment by greydius Haskell has newtype for this purpose, with the benefit that the compiler removes the added overhead of the additional data type. parent greydius 10 years ago