PasteRack.org
Paste # 3847
2023-03-06 16:02:23

Fork as a new paste.

Paste viewed 373 times.


Embed:

  1. #lang racket
  2.  
  3. (define (pow x y)
  4.   (if (= y 0)
  5.       1
  6.       (* x (pow x (- y 1)))))

=>