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 ed057830..d4abcaf0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2015-06-24 Kaz Kylheku <kaz@kylheku.com>
+ * txr.1: partition example: wrong use of where function.
+
+2015-06-24 Kaz Kylheku <kaz@kylheku.com>
+
* hash.c (hash_from_pairs, hash_list): New functions.
* hash.h (hash_from_pairs, hash_list): Declared.
diff --git a/txr.1 b/txr.1
index 90c1faef..04c1ab6d 100644
--- a/txr.1
+++ b/txr.1
@@ -14853,8 +14853,8 @@ of one element.
(partition '(1 2 3) 1) -> ((1) (2 3))
;; split the string where there is a "b"
- (partition "abcbcbd" (op where @1 (op eql #\eb))) -> ("a" "bc"
- "bc" "bd")
+ (partition "abcbcbd" (op where (op eql #\eb))) -> ("a" "bc"
+ "bc" "bd")
.cble
.coNP Function @ partition*