Custom Query (1030 matches)
Results (673 - 675 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #865 | fixed | restart-case mishandles cerror | ||
| Description |
? (defun test (name) (restart-case (cerror "foo ~s" "bar ~s" name) (a-restart () nil))) TEST ? (test 'hah) > Error: bar HAH > While executing: TEST, in process listener(1). > Type :GO to continue, :POP to abort, :R for a list of available restarts. > If continued: foo #<error printing object>
Note the (pprint (macroexpand-1 '(restart-case (cerror "foo ~s" "bar ~s" name)
(a-restart () nil))))
(BLOCK #:G672
(LET* ((#:G673 (%CONS-RESTART 'A-RESTART NIL NIL NIL NIL))
(#:G670 (LIST #:G673)))
(DECLARE (DYNAMIC-EXTENT #:G673 #:G670))
(CATCH #:G670
(LET ((%RESTARTS% (CONS #:G670 %RESTARTS%)))
(DECLARE (DYNAMIC-EXTENT %RESTARTS%))
(RETURN-FROM #:G672
(LET ((#:G671
(CONDITION-ARG "bar ~s" (LIST NAME) 'SIMPLE-ERROR)))
(WITH-CONDITION-RESTARTS
#:G671
#:G670
(CERROR "foo ~s" #:G671)))))))
|
|||
| #866 | invalid | boa constructor supplied-p argument | ||
| 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? | ||
| 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 |
|||
