| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.1.3 Definitions
Global bindings are introduced by the define form:
- syntax: define variable expression
- syntax: define (variable arg …) body
(define add3 (lambda (x) (+ x 3))) (add3 3) ⇒ 6 (define first car) (first '(1 2)) ⇒ 1
See section r5rs.info, for more details. The Bigloo module language (See Module declaration) enables exports and imports of global definitions.
