#20 Unknown keyword arg :START for SCAN-RANGE

closed-invalid
nobody
None
5
2008-11-11
2008-09-24
Anonymous
No

SERIES 2.2.9 in CMUCL 19d. Attempt to use :start with scan-range resulted in the error message

; Error: (during macroexpansion)
; Unknown keyword: :START

both when compiling a test program and when loading the program source. Doing (describe 'series:scan-range) printed out

SCAN-RANGE is an external symbol in the SERIES package.
Function: #<Function SCAN-RANGE {584F4689}>
Function arguments:
(&key (from 0) (by 1) (upto nil) (below nil) (downto nil) (above nil) (length nil) (type 'number))
Function documentation:
(scan-range &key (:start 0) (:by 1) (:type 'number):upto :below :downto :above :length)

The "function arguments" listing does not show the :start keyword arg even though the docstring does.

Discussion

  • Raymond Toy
    Raymond Toy
    2008-10-27

    That is a typo in the docstring. There is no :start keyword; it's :from.

     
  • Raymond Toy
    Raymond Toy
    2008-10-27

    • status: open --> pending-invalid
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-invalid --> closed-invalid