class [['a, 'b]]
env : unit ->
object
.. end
The class of environments. An ('a,'b) environment is a set of
<key,value> pairs, where key is of type 'a and value of type 'b.
A single environment can't contain more than a single binding for
each key.
val table : ('a, 'b) Hashmap.t
The internal representation of an environment.
method get_l : ('a * 'b) list
Accessors, transparently converting to/from alists:
method set_l : ('a * 'b) list -> unit
High level accessors.
method get : 'a -> 'b
Get the value associated to the given id (key).
method add : 'a * 'b -> unit
Add a pair (identifier,value) to the environment.
method updatedBy : ('a, 'b) env -> ('a, 'b) env
Update the environment (self) by another environment which will "cover" previous links.
Returns self.