unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: "Marco Maggi" <marco.maggi-ipsu@poste.it>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: making a thunk out of a list
Date: Tue, 24 Jul 2007 16:47:13 +0200	[thread overview]
Message-ID: <87k5sp3lla.fsf@ambire.localdomain> (raw)
In-Reply-To: <87r6mx3m0y.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Tue\, 24 Jul 2007 16\:37\:49 +0200")

() Thien-Thi Nguyen <ttn@gnuvola.org>
() Tue, 24 Jul 2007 16:37:49 +0200

   () "Marco Maggi" <marco.maggi-ipsu@poste.it>
   () 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


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2007-07-24 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 14:06 making a thunk out of a list Marco Maggi
2007-07-24 14:37 ` Thien-Thi Nguyen
2007-07-24 14:47   ` Thien-Thi Nguyen [this message]
2007-09-18 22:16 ` Neil Jerram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k5sp3lla.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=guile-user@gnu.org \
    --cc=marco.maggi-ipsu@poste.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).