Skip to main content

Module env

Module env 

Source
Expand description

Persistent lexical environments.

An Env is a cons-list of name-value bindings. Lookup walks the list head-first so an inner binding shadows an outer one with the same name. Env::extend returns a fresh Env rather than mutating the receiver; the underlying tail is cloned to satisfy the no-Rc/Arc constraint.

Enumsยง

Env
A persistent lexical environment.