envHelper: Helpers for environments

Description Usage Arguments Details See Also

Description

Functions to help working with environments.

Usage

1
2
3
envCopy(from, to)

envMerge(x, with)

Arguments

from

environment

to

environment

x

environment

with

environment

Details

envCopy tries to copy all objects in a given environment into the environment 'to'. Returns the names of copied objects.

envMerge will merge x and with. Merge will copy all objects from x to with. Prior to that, the environment of functions are changed to be with iff functions in x have environment x; else the environment of functions are preserved.

See Also

retList where these are relevant.


wahani/aoos documentation built on May 3, 2019, 7:37 p.m.