guile-user
[Top][All Lists]
Advanced

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

Re: making a thunk out of a list


From: Thien-Thi Nguyen
Subject: Re: making a thunk out of a list
Date: Tue, 24 Jul 2007 16:47:13 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() Thien-Thi Nguyen <address@hidden>
() Tue, 24 Jul 2007 16:37:49 +0200

   () "Marco Maggi" <address@hidden>
   () Tue, 24 Jul 2007 16:06:31 +0200

        (lambda () (for-each primitive-eval result))

      Ideas?

   (lambda () (primitive-eval `(begin ,@result)))

however, this just produces the thunk form, if you want
to really produce a thunk, you'd use:

(primitive-eval `(lambda () ,@result))

thi




reply via email to

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