unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: guile-devel@gnu.org
Subject: Re: expression
Date: Thu, 24 Jun 2010 09:27:22 +0200	[thread overview]
Message-ID: <876318x545.fsf@ambire.localdomain> (raw)
In-Reply-To: <867048CD-FB59-4D61-A944-03E4BE4D2960@raeburn.org> (Ken Raeburn's message of "Thu, 24 Jun 2010 02:55:59 -0400")

() Ken Raeburn <raeburn@raeburn.org>
() Thu, 24 Jun 2010 02:55:59 -0400

   Hmm... here's another way, though I've no idea if RnRS lets you not have
   any expressions in here:

   scheme@(guile-user)> ,c (begin)                            
   Disassembly of #<objcode 10163f848>:

      0    (assert-nargs-ee/locals 0)      
      2    (void)                          
      3    (return)              

   scheme@(guile-user)> ,c (begin (begin) (begin) 42)
   Disassembly of #<objcode 1016782a8>:

      0    (assert-nargs-ee/locals 0)      
      2    (make-int8 42)                  ;; 42
      4    (return)                        

I think this is fine.  ‘(begin)’ is how things (and "no things") are spliced.

thi



  reply	other threads:[~2010-06-24  7:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 21:09 expression Michael Lucy
2010-06-23 23:14 ` expression No Itisnt
2010-06-23 23:23   ` expression Michael Lucy
2010-06-24 13:01     ` expression Andy Wingo
2010-06-24  6:55 ` expression Ken Raeburn
2010-06-24  7:27   ` Thien-Thi Nguyen [this message]
2010-06-24  7:52   ` expression Michael Lucy
2010-06-24 13:05     ` expression Andy Wingo
2010-06-24 13:03   ` expression Andy Wingo
2010-06-24 14:40     ` expression Ken Raeburn

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=876318x545.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=guile-devel@gnu.org \
    /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).