Skip to main content

builtin_new_env

Function builtin_new_env 

Source
fn builtin_new_env(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Create a new environment.

@param hash logical; if TRUE, use a hashed environment (always TRUE in miniR since we use HashMap) @param parent parent environment (or NULL for an empty environment) @param size integer; initial size hint (ignored — HashMap handles resizing) @return new environment