j
k
j a
j l
Hal Daume III wrote:
if I have newtype Foo = Foo Int and i want to make it an instance of typeable, how do I create a TypeRep object?
if I have
newtype Foo = Foo Int
and i want to make it an instance of typeable, how do I create a TypeRep object?
fooTc :: TyCon fooTc = mkTyCon "Foo" instance Typeable Foo where typeOf _ = mkAppTy fooTc [] -- Glynn Clements
Back to the thread
Back to the list