Here is one example of something I find a bit irritating. This is the
"specification" for the library procedure "fxif" in the (rnrs arithmetic fx
(6)) library.
(fxif fx1 fx2 fx3) procedure
Returns the fixnum result of the following computation:
(fxior (fxand fx1 fx2)
(fxand (fxnot fx1) fx3))
I can just cut/paste the given code into a library file, but I have no idea
of the intent, probably use, test cases, or anything. I can't be sure there
isn't a "typo" in the spec, since I don't know what fxif is really supposed
to do, or what some test cases should evaluate to. I really really hope this
is just a result of not having enough time to finish the editing of the
spec, and that it will be filled in before being submitted for ratification.
Brian C. Barnes
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.r6rs.org/pipermail/r6rs-discuss/attachments/20070612/c0184c03/attachment.htm
Received on Tue Jun 12 2007 - 23:06:53 UTC