Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Basic functions which depend on primitive functions
Documentation
functionArity :: Function -> Int Source #
primitiveArity :: Primitive -> Int Source #
Find the arity (expected number of arguments) of a primitive constant or function
uncurryType :: Type -> [Type] Source #
Uncurry a type expression into a list of types, turning a function type a -> b into cons a (uncurryType b)