diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-02-27 07:52:02 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-02-27 07:52:02 -0800 |
commit | 73bcd69a66e50e08bace63cc2392803fd991f6f0 (patch) | |
tree | 29382e5ac47bddfe93d2b49e84d90c5d0fc27965 /eval.c | |
parent | 66858a6c861796b58b51cdc1f0a125621ec1b376 (diff) | |
download | txr-73bcd69a66e50e08bace63cc2392803fd991f6f0.tar.gz txr-73bcd69a66e50e08bace63cc2392803fd991f6f0.tar.bz2 txr-73bcd69a66e50e08bace63cc2392803fd991f6f0.zip |
* lib.c (copy): New function.
* lib.h (copy): Declared.
* eval.c (eval_init): Registered copy function as intrinsic.
* txr.1: Added missing documentation for length. Documented copy.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3483,7 +3483,7 @@ void eval_init(void) reg_fun(intern(lit("set-diff"), user_package), func_n4o(set_diff, 2)); reg_fun(intern(lit("length"), user_package), func_n1(length)); - + reg_fun(intern(lit("copy"), user_package), func_n1(copy)); reg_fun(intern(lit("sub"), user_package), func_n3o(sub, 1)); reg_fun(intern(lit("ref"), user_package), func_n2(ref)); reg_fun(intern(lit("refset"), user_package), func_n3(refset)); |