summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-06-24 21:31:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-06-24 21:31:19 -0700
commit482bed2b3e63abc0726690570299284d18f3d1a5 (patch)
treefb66d35212fa0dfc08aa78faa8a1eb7101e30144
parent20afcc8786296ab690ee65e7c0dbc6a96ad1d89a (diff)
downloadtxr-482bed2b3e63abc0726690570299284d18f3d1a5.tar.gz
txr-482bed2b3e63abc0726690570299284d18f3d1a5.tar.bz2
txr-482bed2b3e63abc0726690570299284d18f3d1a5.zip
* txr.1: partition example: wrong use of where function.
-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*