You are looking at historical revision 8584 of this page. It may differ significantly from its current revision.


Scheme and Ruby are similar

Scheme and Ruby are different

Scheme Basics

(let ...) (letrec ...)

Note: define is technically not primitive in Chicken, because you can set! any variable in Chicken whether it's been defined or not. However, it is best practice to define all variables, and some Schemes enforce this rule.

Equivalents from Ruby

Also multi-dimensional via SRFI-25, SRFI-47, & SRFI-63 (47 & 63 covered by the 'array-lib" egg).

Note that Chicken has only '(define-macro ...)' built-in. The "syntax-rules" system is an egg - the "syntax-case" egg.

TinyCLOS is probably the best supported by Chicken.

Installation & Libraries

Getting things Done

Pick Your Style