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

Hydra.Inference.AltInference

Synopsis

Documentation

data SSubst Source #

Constructors

SSubst 

Fields

Instances

Instances details
Show SSubst Source # 
Instance details

Defined in Hydra.Inference.AltInference

sWithTypeBinding :: Name -> TypeScheme -> Flow SInferenceContext a -> Flow SInferenceContext a Source #

Temporarily add a (term variable, type scheme) to the typing environment

(>:) :: String -> Term -> (Name, Term) infixr 0 Source #

with :: Foldable t => Term -> t (Name, Term) -> Term Source #

(===) :: Type -> Type -> TypeConstraint infixr 0 Source #