title: Recursive Exponentiation Racket Programming
body: <pre><code>#lang eopl
  
    (define (expo  base n  )
           (cond( (or  (= base 1) (= n 0) ) 1)
                    (else ( (* base (expo(base (- n 1))) )   ) )))
  
  -&gt; (enter! "expo.rkt")
  "expo.rkt"&gt; (expo (2 1) )
  ; application: not a procedure;
  ;  expected a procedure that can be applied to arguments
  ;   given: 2
  ; [,bt for context]
  </code></pre>
  
  <p>I am trying to create a simple recursive exponentiation, but I get the error above. Code is self-explanatory. I am a newbie in Racket programming. I have been reading the manuals, but can't find my error. Supposedly, it shows the error because my function returns a void and not a procedure, but I don't see why it would return void. I am returning 1 or a computation. 
  Help, please :/</p>