News for hackers. Stuff that matters.
Re:Lisp Macros, Delayed Evaluation and the Evolution of Smal... by lispm on Wednesday March 20, 2019 @11:21AM (#19443059)
> You and lispm seem to agree that lambdas can be used to delay evaluation, e.g. `(lambda () (+ 1 2))`

Right, and this is not different from any other function:

  (define (foo) (+ 1 2))

  (define bar (list foo (lambda () (+ 1 2))))  ; putting two functions in a list for later evaluation

  ((first bar))
  ((second bar))
> They are also used to abstract/parameterise, e.g. `(lambda (x) (* x x))`.

yep.

There are no comments on this comment yet.