1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#![forbid(unsafe_code)]
pub use lep::{obj, Domain, Fun, FunMut, Name, Obj, Pair, Ref, Res};
pub mod catalog;
pub mod display;
pub mod future;
pub mod identity;
pub mod origin;
pub mod peer;
pub mod peerindex;
mod repl;
pub mod stream;
#[doc(inline)]
pub use display::stringify;
#[doc(inline)]
pub use future::obj_future;
#[doc(inline)]
pub use repl::{repl, repl_default};
pub fn register(d: &mut Domain) {
lep::builtin::register(d);
stream::register(d);
catalog::register(d);
identity::register(d);
origin::register(d);
peer::register(d);
peerindex::register(d);
}
fn wrong_number_of_arguments() -> Res {
Err("wrong number of arguments".to_string())
}