[r6rs-discuss] Can we get better specs than this?

From: Brian C. Barnes <bcbarnes>
Date: Tue, 12 Jun 2007 22:06:53 -0500

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

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC