Tip.Scope

scope

data Scope a

Querying the scope

data TypeInfo a

data GlobalInfo a

globalType

isType

isGlobal

isLocal

isSort

isTyVar

lookupType

lookupLocal

lookupGlobal

lookupDatatype

lookupFunction

lookupConstructor

lookupDiscriminator

lookupProjector

whichDatatype

whichLocal

whichGlobal

whichFunction

whichConstructor

whichDiscriminator

whichProjector

The scope monad

data ScopeT a m b

runScopeT

checkScopeT

type ScopeM a

runScope

checkScope

emptyScope

inContext

local

Adding things to the scope in the scope monad

newScope

newName

newTyVar

newSort

newDatatype

newConstructor

newFunction

newLocal

withTheory