summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-06-17 07:03:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-06-17 07:03:28 -0700
commitf15dcf205cb43804140db1f59314191e14d7ec65 (patch)
treecc84be04115041975ba9f02392d9af897d63a475
parent95f05cafb8da2dc1a20a41b165c2e03c24d04099 (diff)
downloadtxr-f15dcf205cb43804140db1f59314191e14d7ec65.tar.gz
txr-f15dcf205cb43804140db1f59314191e14d7ec65.tar.bz2
txr-f15dcf205cb43804140db1f59314191e14d7ec65.zip
* txr.1: Fix broken examples for some and none functions.
-rw-r--r--ChangeLog4
-rw-r--r--txr.14
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 20254472..315b1818 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2014-06-17 Kaz Kylheku <kaz@kylheku.com>
+ * txr.1: Fix broken examples for some and none functions.
+
+2014-06-17 Kaz Kylheku <kaz@kylheku.com>
+
* eval.c (not_null): New static function.
(eval_init): Use null_f in existing registration of null
and not. Add registration for not_null as "true",
diff --git a/txr.1 b/txr.1
index 23b55eac..7fe43e00 100644
--- a/txr.1
+++ b/txr.1
@@ -8261,10 +8261,10 @@ values, the none function returns t.
Examples:
;; some of the integers are odd
- (some (fun oddp) '(2 4 6 9) nil) -> t
+ [some '(2 4 6 9) oddp] -> t
;; none of the integers are even
- (none (fun evenp) '(1 3 4 7) nil) -> t
+ [none '(1 3 4 7) evenp] -> t
.SH ASSOCIATION LISTS