Closed montymxb closed 3 years ago
Closes #161. Initial workings converting the runtime env to a Map. These changes need scrutinizing:
EvalEnv
RuntimeEnv
insertEvalEnv
extendEvalEnv
unionEvalEnv
lookupEvalEnv
The base for producing all environments is emptyEvalEnv. Changing this changes the base type of the env in all cases.
emptyEvalEnv
Closes #161. Initial workings converting the runtime env to a Map. These changes need scrutinizing:
EvalEnv
to a separate data type, with constructors for List and Map based envs respectively.RuntimeEnv
typeclass that describes operations that can be performed on an envinsertEvalEnv
extendEvalEnv
unionEvalEnv
lookupEvalEnv
The base for producing all environments is
emptyEvalEnv
. Changing this changes the base type of the env in all cases.