Quick fix from Ross to get the Hugs builds working again. I'm not sure
what the right fix is, e.g. is moving sameType to Data.Types enough?
-- | Test for type equivalence
sameType :: (Typeable a, Typeable b) => TypeVal a -> TypeVal b -> Bool
-sameType (_::a->()) (_::b->()) = typeOf (undefined::a) ==
- typeOf (undefined::b)
+sameType tva tvb = typeOf (undefinedType tva) ==
+ typeOf (undefinedType tvb)
-------------------------------------------------------------