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

Hydra.Types.Inference

Description

Entry point for Hydra's variation on Hindley-Milner type inference

Synopsis

Documentation

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

Solve for the top-level type of an expression in a given environment

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