1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
use crate::environment::{Environment, TypeValues};

pub(crate) mod set_impl;
mod stdlib;
pub(crate) mod value;

/// Include `set` constructor and set functions in environment.
pub fn global(env: &mut Environment, type_values: &mut TypeValues) {
    self::stdlib::global(env, type_values);
    env.with_set_constructor(Box::new(crate::linked_hash_set::value::Set::from));
}