withType, -- :: a -> TypeVal a -> a
argType, -- :: (a -> b) -> TypeVal a
resType, -- :: (a -> b) -> TypeVal b
+ paraType, -- :: t a -> TypeVal a
TypeFun -- functions on types
) where
resType _ = typeVal
+-- | The parameter type of type constructor
+paraType :: t a -> TypeVal a
+paraType _ = typeVal
+
+
-- Type functions,
-- i.e., functions mapping types to values
--