newtype Kilogram = Kilogram Double
{-# LANGUAGE GeneralizedNewtypeDeriving #-} newtype Kilogram = Kilogram Double deriving (Show, Eq, Ord, Num, Real, Fractional, Floating, ...)