#1: Delayed Evaluation

Tagged as challenge

Written on 2018-01-30

Define a macro thunk which will wrap the body of the macro inside a lambda. That is, define


so that we get

(lambda () <body>)

This can act as a primitive for delaying evaluation.

Update: See Challenge #32 for an extension of this challenge.

Unless otherwise credited all material copyright © 2010–2018 by Robert Smith