language: Scheme (guile) (guile 1.8.5)
date: 109 days 0 hours ago
link:
visibility: public
1
2
3
4
5
6
(define (foo w h)
        (if (= w 0)
            h
            (if (= h 0)
                w
                (+ (foo (- w 1) h) (foo w (- h 1))))))