Some readme elaboration, but mostly cons
This commit is contained in:
parent
928c9b91ed
commit
001e35755d
5 changed files with 31 additions and 29 deletions
|
|
@ -31,13 +31,13 @@ pub mod strings;
|
|||
/// any kind of further configuration data into a symtable
|
||||
pub fn static_stdlib(syms: &mut SymTable) -> Result<(), String> {
|
||||
syms.insert(
|
||||
"append".to_string(),
|
||||
"cons".to_string(),
|
||||
Symbol {
|
||||
name: String::from("append"),
|
||||
name: String::from("cons"),
|
||||
args: Args::Infinite,
|
||||
conditional_branches: false,
|
||||
docs: append::APPEND_DOCSTRING.to_string(),
|
||||
value: ValueType::Internal(Rc::new(append::append_callback)),
|
||||
docs: append::CONS_DOCSTRING.to_string(),
|
||||
value: ValueType::Internal(Rc::new(append::cons_callback)),
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue