fork download
  1. (defclass A () ())
  2.  
  3. (defclass B (A) ())
  4.  
  5. (defmethod gf1 ((o A))
  6. o)
  7.  
  8. (defmethod gf3 ((o A))
  9. o)
  10.  
  11. (defmethod gf2 ((o B))
  12. o)
  13.  
  14. (print (gf2 (gf3 (gf1 (make-instance 'B)))))
  15.  
Success #stdin #stdout 0.03s 10712KB
stdin
Standard input is empty
stdout
#<B #x2135FB66>