Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Traits of inference monads.
Synopsis
- class LocalScopeType var scheme m where
- localScopeType :: var -> scheme -> m a -> m a
Documentation
class LocalScopeType var scheme m where Source #
LocalScopeType var scheme m
represents that
m
maintains a scope mapping variables of type var
to type schemes of type scheme
.
localScopeType :: var -> scheme -> m a -> m a Source #
Add a variable type into an action's scope