Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (154 - 156 of 1030)

Ticket Resolution Summary Owner Reporter
#866 invalid boa constructor supplied-p argument R. Matthew Emerson
Description

From pro@…:

I tried to save a supplied-p parameter from a BOA constructor like this:

(defstruct (delayed-iseq
            (:constructor iseq (start-or-end 
                                &optional (end 0 end?) (by 1)
                                strict-direction?)))
 "Delayed index sequence evaluation."
 start-or-end end end? by strict-direction?)

but SBCL complained that end? was not used. After rereading the CLHS page for defstruct, I am still not 100% sure why this is. My intepretation is that END? is an argument like any other, but probably I am not getting something.

#867 invalid do tries to iterate into print output? Marshall Abrams
Description

Hi,

Is this a known bug? I don't have the expertise to describe the problem in a sensible way--I'm not even sure whether it has to do with 'do' per se--but you'll see what I mean. This is on: 1.6-r14468M (DarwinX8664)!

Line breaks added for readability:

? (setf (get 'sym1 'prop) '(this that theother))
(THIS THAT THEOTHER)
? (setf sym2 'sym1)
SYM1
? (do ((lst (symbol-plist 'sym1) (cdr lst))) 
      ((null lst) t) 
   (princ (car lst)))
PROP(THIS THAT THEOTHER)
T
? (do ((lst (symbol-plist sym2) (cdr lst))) 
      ((null lst) t) 
    (princ (car lst)))
;Compiler warnings :
;   In an anonymous lambda form at position 24: Undeclared free variable SYM2PROP(THIS THAT THEOTHER)
T
? 

Thank you for ccl, btw. It seems incredibly fast, which matters for my application.

Marshall

#870 fixed unexpected out-of-memory condition art
Description
[art@vm64 ~]> ccl -R 135600M
Welcome to Clozure Common Lisp Version 1.6-r14468M  (FreebsdX8664)!
? (defvar *seq* (make-sequence '(simple-array (unsigned-byte 8) (*)) 1000))
*SEQ*
? (ccl:with-output-to-vector (s) (write-sequence *seq* s))
> Error: Memory allocation request failed.
> While executing: CCL::%EXTEND-VECTOR-OUTPUT-STREAM, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 >

Tracing CCL::%EXTEND-VECTOR-OUTPUT-STREAM shows many calls of the function,
and each call doubles size of :outbuf.
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.