
(/VERSIONCHECK 2) 

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

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

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

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

(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|)) 
