hydra-0.8.0: Type-aware transformations for data and programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Extras

Description

Basic functions which depend on primitive functions

Synopsis

Documentation

primitiveArity :: Primitive -> Int Source #

Find the arity (expected number of arguments) of a primitive constant or function

qname :: Namespace -> String -> Name Source #

Construct a qualified (dot-separated) name

uncurryType :: Type -> [Type] Source #

Uncurry a type expression into a list of types, turning a function type a -> b into cons a (uncurryType b)