language-dickinson-1.4.3.0: A language for generative literature
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Dickinson.TypeCheck

Documentation

tyAddDecl :: (HasTyEnv s, MonadState (s a) m) => Declaration a -> m () Source #

data TyEnv a Source #

Instances

Instances details
HasTyEnv TyEnv Source # 
Instance details

Defined in Language.Dickinson.TypeCheck

Binary a => Binary (TyEnv a) Source # 
Instance details

Defined in Language.Dickinson.TypeCheck

Methods

put :: TyEnv a -> Put #

get :: Get (TyEnv a) #

putList :: [TyEnv a] -> Put #

class HasTyEnv f where Source #

Methods

tyEnvLens :: Lens' (f a) (IntMap (DickinsonTy a)) Source #

Instances

Instances details
HasTyEnv EvalSt Source # 
Instance details

Defined in Language.Dickinson.Eval

HasTyEnv TyEnv Source # 
Instance details

Defined in Language.Dickinson.TypeCheck