Email list hosting service & mailing list manager

bad argument count - received 3 but expected 1: #<procedure (vector-copy vec)> noosphere@xxxxxx (20 Nov 2020 23:30 UTC)

bad argument count - received 3 but expected 1: #<procedure (vector-copy vec)> noosphere@xxxxxx 20 Nov 2020 23:30 UTC

While porting SRFI-132 to Chicken Scheme 5.2.0, while running the SRFI's
tests, Chicken reported an error:

  bad argument count - received 3 but expected 1: #<procedure (vector-copy vec)>

A full log of the compile can be seen here:

  https://github.com/diamond-lizard/srfi-132/issues/1

In #chicken, jcowan wrote:

  "I wonder if there is a mixup between vector-copy and vector-copy!"
  "vector-copy should take 1 arg, whereas vector-copy! takes 3 to 5 args"

I searched around for vector-copy and found a definition of it with just
one argument in the test source (srfi-132-test.sps), and removing that
definition got rid of the error.

I've created a pull request with the fix, here:

  https://github.com/scheme-requests-for-implementation/srfi-132/pull/4

Sincerely,

Sergey Goldgaber