
(/VERSIONCHECK 2) 

(DEFPARAMETER |RetractableTo;CAT| 'NIL) 

(DEFPARAMETER |RetractableTo;AL| 'NIL) 

(DEFUN |RetractableTo| (#0=#:G1816)
  (LET (#1=#:G1817)
    (COND
      ((SETQ #1# (|assoc| #2=(|devaluate| #0#) |RetractableTo;AL|))
       (CDR #1#))
      (T (SETQ |RetractableTo;AL|
               (|cons5| (CONS #2# (SETQ #1# (|RetractableTo;| #0#)))
                        |RetractableTo;AL|))
         #1#)))) 

(DEFUN |RetractableTo;| (|t#1|)
  (PROG (#0=#:G1815)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
                       (COND
                         (|RetractableTo;CAT|)
                         ('T
                          (LETT |RetractableTo;CAT|
                                (|Join| (|mkCategory| '|domain|
                                         '(((|coerce| ($ |t#1|)) T)
                                           ((|retractIfCan|
                                             ((|Union| |t#1| "failed")
                                              $))
                                            T)
                                           ((|retract| (|t#1| $)) T))
                                         NIL 'NIL NIL))
                                . #1=(|RetractableTo|))))) . #1#)
        (SETELT #0# 0 (LIST '|RetractableTo| (|devaluate| |t#1|))))))) 
