SketchyLISP Reference Manual - Copyright (C) 2005 Nils M Holm

7 Differences to Scheme

7.1 First Class Environments in Closures

SketchyLISP supports three-argument lambda functions, where the third argument is an association list containing the lexical context of the resulting closure:

(lambda (x) (not (p x)) ((p.pair?)))

Scheme does not support first-class lexical environments.

7.2 Functions

There are some subtle departures from R5RS in the cond and define pseudo functions of SketchyLISP. See their descriptions in the Primitive Functions chapter for details.

SketchyLISP's bottom, list->integer, and integer->list functions do not have any counterparts in Scheme. The latter two can be implemented easily, though.

Many essential functions that are part of R5RS Scheme are not implemented in SketchyLISP. See the Library Functions chapter to see what actually is implemented.