Welcome to the CHICKEN Scheme pasting service

pascal's triangle added by klaufir on Fri Aug 16 16:54:54 2013

;;; source: http://www.billthelizard.com/2009/11/sicp-exercise-112-pascals-triangle.html

(define (pascal row col)
   (cond ((< row col) #f)
         ((or (= 0 col) (= row col)) 1)
         (else (+ (pascal (- row 1) col)
                  (pascal (- row 1) (- col 1))))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which module provides `define-foreign-type'?
Visually impaired? Let me spell it for you (wav file) download WAV