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

Hydra.Types.Inference

Synopsis

Documentation

inferType :: (Ord m, Show m) => Term m -> GraphFlow m (Term (m, Type m, [Constraint m]), TypeScheme m) Source #

Solve for the toplevel type of an expression in a given environment

type Constraint m = (Type m, Type m) Source #