Copyright | (c) Edward Kmett and Dan Doel 2011-2014 |
---|---|
License | BSD3 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
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