Search code examples
schemegambit

Difference between define and define*


Forgive my ignorance, but what is the difference between these two:

(define blah)
(define* blah)

? Unfortunately Google ignores the asterisks character.


Solution

  • SRFI 89 was written by Gambit's author, so it's only fair to assume that Gambit's define* does what that document says. :-)

    In other words, it's syntactic sugar over lambda* (as described in SRFI 89) rather than lambda.