Search
3:32:08
beach
Good morning everyone!
3:35:19
no-defun-allowed
Hello beach
6:49:39
no-defun-allowed
Hello splittist
7:29:18
shka_
eh, and i though i got early today
9:21:57
Harag
beach: have you got a moment?
9:23:51
Harag
I have been playing with sanbox but it does not like setf of any kind
9:24:03
Harag
so theoretically how would it cope with the following
9:24:05
Harag
(let ((x 10)) (setf (symbol-function 'cadr) #'cl:cadr) (cadr (list (list x) 123)))
9:25:35
beach
So, CL:CADR and CADR is one and the same symbol. There are no package tricks involved.
9:26:05
beach
You should get an error when you try to do #'cl:cadr.
9:26:29
Harag
setf causes errors so I can get that far
9:27:01
beach
I am not sure I defined SETF entirely.
9:27:43
beach
Let me check how far I got with it. I can't remember (of course).
9:28:27
no-defun-allowed
There are translator methods for set-symbol-value-ast and setq-ast, but neither looks applicable for symbol-function.
9:29:26
Harag
truckler-reference environment is not of type sb-c::abstact-lexenv
9:29:36
Harag
dont worry about the crash
9:29:51
Harag
I am more interested in the theory
9:30:19
beach
I can explain the theory much easier than I can remember the details.
9:31:17
beach
So here is the theory: I import most things from the host, where "things" are functions, macros, and special operators.