Disparity regarding flexvector->list arguments Sören Tempel (09 Aug 2024 15:07 UTC)
Re: Disparity regarding flexvector->list arguments Arthur A. Gleckler (10 Aug 2024 03:21 UTC)
Re: Disparity regarding flexvector->list arguments Adam Nelson (12 Aug 2024 03:37 UTC)
Re: Disparity regarding flexvector->list arguments Arthur A. Gleckler (12 Aug 2024 03:45 UTC)

Disparity regarding flexvector->list arguments Sören Tempel 09 Aug 2024 15:07 UTC

Hi,

I hope this is the right place to report these kinds of issues: While
working on a CHICKEN Egg for SRFI-214, I noticed a disparity regarding
the documented parameters for flexvector->list [1] and the reference
implementation provided in the Git repository [2].

If I understand the documentation correctly, then the flexvector->list
procedure takes two optional arguments called `start` and `end`:

 “Creates a list containing the elements in `fv` between `start`, which
  defaults to 0, and `end`, which defaults to the length of `fv`.”

However, in the reference implementation, flexvector->list only takes a
single argument (the flexvector that should be converted). Is this a bug
in the reference implementation or an error in the SRFI-214 document?

Best,
Sören

[1]: https://srfi.schemers.org/srfi-214/srfi-214.html#flexvector-list-reverse-flexvector-list
[2]: https://github.com/scheme-requests-for-implementation/srfi-214/blob/216f352b3ac0c7f69b43b551d6db88608855dd5d/implementation/flexvectors-body2.scm#L372-L374