я что-то не понимаю или пора выспаться?
GRAPH-ALG> (get-v-outs (car *sg-g*) 'a)
(B C)
GRAPH-ALG> (defun z () (get-v-outs (car *sg-g*) 'a))
Z
GRAPH-ALG> (z)
#|
There is no applicable method for the generic function
#<STANDARD-GENERIC-FUNCTION GET-V-OUTS (1)>
when called with arguments
(#S(SIMPLY-GRAPH :VERTICIES #1=(A B C) :BRANCHS (#1# #)) A).
[Condition of type SIMPLE-ERROR]
Restarts:
0: [RETRY] Retry calling the generic function.
1: [RETRY] Retry SLIME REPL evaluation request.
2: [*PROCESS-INPUT] Continue reading input.
3: [ABORT] Return to SLIME's top level.
4: [CLOSE-CONNECTION] Close SLIME connection.
5: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: ((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION GET-V-OUTS (1)>)[:EXTERNAL]
1: (SB-PCL::CALL-NO-APPLICABLE-METHOD #<STANDARD-GENERIC-FUNCTION GET-V-OUTS (1)> (#S(SIMPLY-GRAPH :VERTICIES #1=(A B C) :BRANCHS (#1# #)) A))
2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (Z) #<NULL-LEXENV>)
|#
; Evaluation aborted on #<SIMPLE-ERROR "~@<There is no applicable method for the generic function ~2I~_~S~
~I~_when called with arguments ~2I~_~S.~:>" {2416B6D9}>.
GRAPH-ALG> (get-v-outs (car *sg-g*) 'a)
; Evaluation aborted on #<SIMPLE-ERROR "~@<There is no applicable method for the generic function ~2I~_~S~
~I~_when called with arguments ~2I~_~S.~:>" {24AF2A09}>.
GRAPH-ALG>
windows, sbcl-1.0.43-threads