From 30ebbcc018565b46fd4db1bc138ac206a633a54d Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 29 Jun 2017 05:26:48 -0700 Subject: doc: fix zipper example under mapcar * txr.1: Split mapcar "zipper" example into two lines to prevent wrapping and add missing -> between form and output. --- txr.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/txr.1 b/txr.1 index cd47676f..d9653cb0 100644 --- a/txr.1 +++ b/txr.1 @@ -27040,7 +27040,8 @@ and so doesn't return. (mapcar (lambda (item) (* 2 item)) '(1 2 3)) -> (4 6 8) ;; "zipper" two lists together - (mapcar (lambda (le ri) (list le ri)) '(1 2 3) '(a b c)) '((1 a) (2 b) (3 c))) + (mapcar (lambda (le ri) (list le ri)) '(1 2 3) '(a b c)) + -> '((1 a) (2 b) (3 c))) ;; like append, mappend allows a lone atom or a trailing atom: (mappend (fun identity) 3) -> (3) -- cgit v1.2.3