Scheme Playground
Scheme Playground - write and run your scheme code online.
; n!
(define (factorial n)
(if (<= n 1)
1
(* n (factorial (- n 1)))))
(factorial 8)
Result:
The scheme programming language
- Scheme is a classic programming language in the Lisp family. We are using @jcubic/lips to run Scheme programs.