1 2 3 4 5 6 7 8 9
{-# LANGUAGE GeneralizedNewtypeDeriving #-} module Test where import Data.Typeable data DList a = DList [a] deriving(Typeable) newtype NList a = NList [a] deriving(Typeable)