This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
small fixes to Kawa documentation
- From: "Hoehle, Joerg-Cyril" <Joerg-Cyril dot Hoehle at t-systems dot com>
- To: per at bothner dot com
- Cc: kawa at sources dot redhat dot com
- Date: Mon, 29 Jul 2002 13:57:53 +0200
- Subject: small fixes to Kawa documentation
Per,
to close my work, here's what I changed in the documentation. I'm sorry it's so little, I put kawa.texi under RCS after I decided that I wanted to correct typos but didn't rescan the documentation since I stopped my work.
gdiff -u kawa.texi.orig kawa.texi # was kawa-1.6.98
--- kawa.texi.orig Sat Feb 16 13:28:22 2002
+++ kawa.texi Thu May 16 16:33:57 2002
@@ -1118,17 +1118,19 @@
"tail body", cf section 3.5 of the R5RS.
The matching of each @var{formals} to values is as for the matching of
-@var{formals} to arguments in a @code{ambda} expression, and it is an
+@var{formals} to arguments in a @code{lambda} expression, and it is an
error for an @var{expression} to return a number of values that does not
match its corresponding @var{formals}.
@example
-(let-values ((a b . c) (values 1 2 3 4)))
+(let-values (((a b . c) (values 1 2 3 4)))
(list a b c)) --> (1 2 (3 4))
+(let-values ((x (values 1 2 3))) x) --> (1 2 3)
+
(let ((a 'a) (b 'b) (x 'x) (y 'y))
- (let-values (((a b) (values x y))
- ((x y) (values a b)))
- (list a b x y))) --> (x y a b)
+ (let-values (((a b) (values y x))
+ ((x y) (values b a)))
+ (list a b x y))) --> (y x b a)
@end example
@end deffn
I believe ispell would catch several typos I came across. But I don't have it installed here.
Per Bothner wrote:
>(4) Kawa and its documentation are copyrighted in my name, so do not
>submit any changes to Kawa unless you intend me to do what I want with
>them. Of course I try to give credit, at least in the ChangeLogs.
Do whatever you want with these documentation suggestions.
Regards,
Jorg Hohle.