ermine-0.6: Ermine

Copyright(c) Edward Kmett and Dan Doel 2011-2014
LicenseBSD3
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Ermine.Inference.Type

Description

 

Documentation

matchFunType :: MonadMeta s m => TypeM s -> m (TypeM s, TypeM s) Source

inferType :: MonadConstraint (KindM s) s m => Depth -> (v -> TypeM s) -> TermM s v -> m (WitnessM s v) Source

inferPatternType :: MonadMeta s m => Depth -> PatM s -> m ([MetaT s], TypeM s, PatternPath -> TypeM s) Source

generalizeType :: MonadMeta s m => WitnessM s a -> m (Type k t, Core Convention a) Source