chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] Do you mind adding `thunk' to e.g. moremacros?


From: Peter Danenberg
Subject: [Chicken-hackers] Do you mind adding `thunk' to e.g. moremacros?
Date: Sun, 23 Sep 2012 18:37:08 -0500
User-agent: Mutt/1.5.21+52 (c26dbc7021f4) (2011-07-01)

I know it's trivial:

  (define-syntax thunk
    (lambda (expression rename compare)
      (let ((body (cdr expression))
            (%lambda (rename 'lambda)))
        `(,%lambda () ,@body))))

but it helps me with the noobs in my AIMA seminar, whom I'm trying to
bybring a little Chicken.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]