Skip to main content

cljrs_value/
lib.rs

1#![allow(clippy::arc_with_non_send_sync)]
2pub mod clone;
3pub mod collections;
4pub mod error;
5pub mod hash;
6pub mod intern;
7pub mod keyword;
8pub mod native_object;
9pub mod regex;
10pub mod resource;
11pub mod shared;
12pub mod symbol;
13pub mod types;
14pub mod value;
15
16pub use collections::{
17    PersistentArrayMap, PersistentHashMap, PersistentHashSet, PersistentList, PersistentQueue,
18    PersistentVector, SortedMap, SortedSet,
19};
20pub use error::{ExceptionInfo, ValueError, ValueResult};
21pub use hash::ClojureHash;
22pub use intern::{intern_keyword, intern_symbol};
23pub use keyword::Keyword;
24pub use native_object::{NativeObject, NativeObjectBox, gc_native_object};
25pub use resource::{Resource, ResourceHandle};
26pub use shared::{PromoteError, SharedAtom, SharedValue, demote, promote};
27pub use symbol::Symbol;
28pub use types::{
29    Agent, Arity, Atom, BoundFn, CljxCons, CljxFn, CljxFnArity, CljxFuture, CljxPromise, Delay,
30    DelayState, FutureState, LazySeq, MultiFn, Namespace, NativeFn, NativeFnFunc, NativeFnPtr,
31    Protocol, ProtocolFn, ProtocolMethod, Thunk, Var, Volatile,
32};
33pub use value::{MapValue, ObjectArray, SetValue, TypeInstance, Value};