summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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