diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-17 08:46:11 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-17 08:46:11 -0800 |
commit | d656e64b6815678b87de402485cdec5222bce88b (patch) | |
tree | d437d539c916c7d831663f818da39a2fde093b8d /lib.c | |
parent | 877cb438262b5ab98e25ae88fa66d9f22aace9cd (diff) | |
download | txr-d656e64b6815678b87de402485cdec5222bce88b.tar.gz txr-d656e64b6815678b87de402485cdec5222bce88b.tar.bz2 txr-d656e64b6815678b87de402485cdec5222bce88b.zip |
copy: call copy-fun for functions.
* lib.c (copy): Handle FUN type through copy_fun.
* txr.1: Documented.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9924,6 +9924,8 @@ val copy(val seq) return copy_vec(seq); case BUF: return copy_buf(seq); + case FUN: + return copy_fun(seq); case COBJ: if (seq->co.cls == hash_s) return copy_hash(seq); |