You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SBCL seems to be inferring that DROP-WHILE returns an array when its argument type is unknown? Haven't debug further yet but wanted to record here now.
XILINX> (lambda (x) (rest (drop-while #'identity x)))
; in: LAMBDA (X)
; (REST (DROP-WHILE #'IDENTITY XILINX::X))
; ==>
; (CDR (DROP-WHILE #'IDENTITY XILINX::X))
;
; caught STYLE-WARNING:
; Derived type of
; (SB-KERNEL:VECTOR-SUBSEQ* SB-C::SEQ SB-C::START SB-C::END)
; in
; (DROP-WHILE #'IDENTITY X)
; is
; (VALUES (SIMPLE-ARRAY * (*)) &OPTIONAL),
; conflicting with their asserted type
; LIST.
; See also:
; The SBCL Manual, Node "Handling of Types"
;
; compilation unit finished
; caught 1 STYLE-WARNING condition
#<FUNCTION (LAMBDA (X)) {52A66EBB}>
The text was updated successfully, but these errors were encountered:
SBCL seems to be inferring that DROP-WHILE returns an array when its argument type is unknown? Haven't debug further yet but wanted to record here now.
The text was updated successfully, but these errors were encountered: