diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-06-26 07:13:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-06-26 07:13:13 -0700 |
commit | c2a3e0ebc198739b77bdfb30194ad17b309333af (patch) | |
tree | 3d7285a006c455cc520f3b191c8bd83dff5e8170 | |
parent | 3dbaecd359c584e1bcf650cdf53fb35253599e15 (diff) | |
download | txr-c2a3e0ebc198739b77bdfb30194ad17b309333af.tar.gz txr-c2a3e0ebc198739b77bdfb30194ad17b309333af.tar.bz2 txr-c2a3e0ebc198739b77bdfb30194ad17b309333af.zip |
* lib.c (search): Bugfix in type mismatch error message:
trying to print cons function pointer as value.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2014-06-26 Kaz Kylheku <kaz@kylheku.com> + * lib.c (search): Bugfix in type mismatch error message: + trying to print cons function pointer as value. + +2014-06-26 Kaz Kylheku <kaz@kylheku.com> + * eval.c (mapcarv): Use mapcar_listout, so list_of_lists can be a non-list sequence. (eval_init): Register transpose and zip as intrinsics. @@ -5498,7 +5498,7 @@ val search(val seq, val key, val testfun, val keyfun) /* TODO: optimize me */ return search_list(seq, key, testfun, keyfun); default: - type_mismatch(lit("search: ~s is not a sequence"), cons, nao); + type_mismatch(lit("search: ~s is not a sequence"), seq, nao); } return seq; |