From: Jason Wilson <edu/mit/csail/zurich/jawilson>
Date: Sat, 16 Oct 1993 05:31:51 +0000 (+0000)
Subject: I examples for the list-transform-mumble functions.
X-Git-Tag: 20090517-FFI~7750
X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=62aa8f1de63d938aa21228d3ce94940fd41a28ec;p=mit-scheme.git

I examples for the list-transform-mumble functions.
---

diff --git a/v7/doc/ref-manual/scheme.texinfo b/v7/doc/ref-manual/scheme.texinfo
index dfc473c84..4aad97aa8 100644
--- a/v7/doc/ref-manual/scheme.texinfo
+++ b/v7/doc/ref-manual/scheme.texinfo
@@ -2,7 +2,7 @@
 @iftex
 @finalout
 @end iftex
-@comment $Id: scheme.texinfo,v 1.25 1993/10/14 10:41:01 cph Exp $
+@comment $Id: scheme.texinfo,v 1.26 1993/10/16 05:31:51 jawilson Exp $
 @comment %**start of header (This is for running Texinfo on a region.)
 @setfilename scheme
 @settitle MIT Scheme Reference
@@ -6684,6 +6684,15 @@ z                                       @result{}  (g h)
 These procedures return a newly allocated copy of @var{list} containing
 only the elements for which @var{predicate} is (respectively) true or
 false.  @var{Predicate} must be a procedure of one argument.
+
+@example
+@group
+
+(list-transform-positive '(1 2 3 4 5) odd?) @result{} (1 3 5)
+
+(list-transform-negative '(1 2 3 4 5) odd?) @result{} (2 4)
+@end group
+@end example
 @end deffn
 
 @deffn {procedure+} delq element list