From 482bed2b3e63abc0726690570299284d18f3d1a5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 24 Jun 2015 21:31:19 -0700 Subject: * txr.1: partition example: wrong use of where function. --- ChangeLog | 4 ++++ txr.1 | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ed057830..d4abcaf0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-06-24 Kaz Kylheku + + * txr.1: partition example: wrong use of where function. + 2015-06-24 Kaz Kylheku * hash.c (hash_from_pairs, hash_list): New functions. 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* -- cgit v1.2.3