blob: 254f1f550d09e868a3aab95927e416e5c9e410b4 (
plain) (
tree)
|
|
module DeprecatedNewtype where
-- | some documentation
newtype SomeNewType = SomeNewTypeConst String {- ^ constructor docu -}
{-# DEPRECATED SomeNewType "SomeNewType" #-}
{-# DEPRECATED SomeNewTypeConst "SomeNewTypeConst" #-}
newtype SomeOtherNewType = SomeOtherNewTypeConst String
{-# DEPRECATED SomeOtherNewType "SomeOtherNewType" #-}
{-# DEPRECATED SomeOtherNewTypeConst "SomeOtherNewTypeConst" #-}
|