
(/VERSIONCHECK 2) 

(DEFUN |MONAD-;^;SPiS;1| (|x| |n| $) (SPADCALL |x| |n| (QREFELT $ 9))) 

(DEFUN |MONAD-;rightPower;SPiS;2| (|a| |n| $)
  (PROG (|res| #1=#:G1814 |i|)
    (RETURN
     (SEQ
      (COND ((EQL |n| 1) |a|)
            ('T
             (SEQ (LETT |res| |a| . #2=(|MONAD-;rightPower;SPiS;2|))
                  (SEQ (LETT |i| 1 . #2#) (LETT #1# (- |n| 1) . #2#) G190
                       (COND ((QSGREATERP |i| #1#) (GO G191)))
                       (SEQ
                        (EXIT
                         (LETT |res| (SPADCALL |res| |a| (QREFELT $ 11))
                               . #2#)))
                       (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
                  (EXIT |res|)))))))) 

(DEFUN |MONAD-;leftPower;SPiS;3| (|a| |n| $)
  (PROG (|res| #1=#:G1818 |i|)
    (RETURN
     (SEQ
      (COND ((EQL |n| 1) |a|)
            ('T
             (SEQ (LETT |res| |a| . #2=(|MONAD-;leftPower;SPiS;3|))
                  (SEQ (LETT |i| 1 . #2#) (LETT #1# (- |n| 1) . #2#) G190
                       (COND ((QSGREATERP |i| #1#) (GO G191)))
                       (SEQ
                        (EXIT
                         (LETT |res| (SPADCALL |a| |res| (QREFELT $ 11))
                               . #2#)))
                       (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
                  (EXIT |res|)))))))) 

(DEFUN |Monad&| (|#1|)
  (PROG (|pv$| $ |dv$| DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|Monad&|))
      (LETT |dv$| (LIST '|Monad&| DV$1) . #1#)
      (LETT $ (GETREFV 14) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (SETF |pv$| (QREFELT $ 3))
      $)))) 

(MAKEPROP '|Monad&| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|PositiveInteger|)
              (|RepeatedSquaring| 6) (0 . |expt|) |MONAD-;^;SPiS;1| (6 . *)
              |MONAD-;rightPower;SPiS;2| |MONAD-;leftPower;SPiS;3|)
           '#(|rightPower| 12 |leftPower| 18 ^ 24) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 13
                                                 '(2 8 6 6 7 9 2 6 0 0 0 11 2 0
                                                   0 0 7 12 2 0 0 0 7 13 2 0 0
                                                   0 7 10)))))
           '|lookupComplete|)) 
