New draft (#2) of SRFI 151: Bitwise Operations Arthur A. Gleckler (15 May 2017 04:37 UTC)
Re: New draft (#2) of SRFI 151: Bitwise Operations Peter Lane (15 May 2017 18:45 UTC)
Re: New draft (#2) of SRFI 151: Bitwise Operations John Cowan (15 May 2017 21:30 UTC)

Re: New draft (#2) of SRFI 151: Bitwise Operations Peter Lane 15 May 2017 18:45 UTC

Three small edits:

On 15/05/17 05:37, Arthur A. Gleckler wrote:
> I've just published draft #2 of SRFI 151.  It was submitted
> by John Cowan, author of the SRFI.
>
>   <https://srfi.schemers.org/srfi-151/>

1. In srfi-151.sld, logcount/bit-count has been missed in the Gauche
expansion:

       (import (rename (only (gauche base)
                             lognot logand logcount logior logxor ash)
                       (logcount bit-count)

I made a comment on the commit.

With that change the new version of the code and new tests work for me
on Sagittarius, Gauche, Larceny and Kawa.

2. In the html, under "Bits as Booleans", the optional [len] for
integer->list is omitted (it's there for integer->vector).

3. For the italics in the table "Comparison of Proposals", the following
also need to be in italics:
- SRFI 60: "integer->list"  "list->integer"  "booleans->integer"
- R6RS: "bitwise-copy-bit-field" "bitwise-rotate-bit-field"

   regards,

       Peter.
--
Peter Lane
http://peterlane.info/scheme.html