freenode/#clasp - IRC Chatlog
Search
21:41:45
drmeister
If a fastgf dispatch fails it checks to make sure that the instances passed as arguments are up to date. If not it updates them.
21:42:12
drmeister
To do that it compares the instance stamp to the stamp that its class would impart on it. If they don't match - the object is out of date.
21:42:50
drmeister
In ECL dispatch it checks if the instances pointer to class slots matches the class slots of the instances class.
21:43:17
drmeister
I didn't think to hard and I thought - oh - if one way of checking for obsolete instances is good then two should be better!
21:44:16
drmeister
Just use the stamp test. The other test runs into problems - for reasons I haven't sorted out yet.
21:46:18
drmeister
Yeah - structures are implemented as instances of the C++ class Instance_O and the pointer to the class slots is NIL.
0:12:22
drmeister
I startup clasp and use (error "This is an error") and this repl code behaves strangely...
0:13:27
drmeister
How can (format nil "~&Condition of type: ~A~%~A~%" (type-of condition) condition))
0:21:07
drmeister
This binding (*break-message* (format nil "~&Condition of type: ~A~%~A~%" (type-of condition) condition))
0:23:56
drmeister
I changed this... https://github.com/drmeister/clasp/blob/dev/src/lisp/kernel/lsp/top.lsp#L1466