From: Hans Aberg <haberg-1@telia.com>
To: guile-user@gnu.org
Subject: List functions
Date: Wed, 1 Dec 2010 17:28:13 +0100 [thread overview]
Message-ID: <82728ACE-C593-4789-BED2-45674C06057E@telia.com> (raw)
I am writing on a parser that translates normal function syntax in to
Guile code. It seems natural to translate (f, g) x into ((f g) x), and
() x into (() x), but I'm not sure if the lists (f g) and () can be
made acting as functions this way. So what would be natural here?
(Constants might be made evaluating to themselves, for example (5
x_1 ...) -> 5.)
Hans
next reply other threads:[~2010-12-01 16:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 16:28 Hans Aberg [this message]
2010-12-01 17:35 ` List functions Joel James Adamson
2010-12-01 17:48 ` Hans Aberg
2010-12-01 19:20 ` Keith Wright
2010-12-01 19:50 ` Hans Aberg
2010-12-01 20:26 ` Hans Aberg
2010-12-01 21:34 ` Keith Wright
2010-12-01 22:19 ` Hans Aberg
2010-12-01 22:43 ` Hans Aberg
2010-12-03 15:06 ` Hans Aberg
2010-12-01 19:51 ` Andy Wingo
2010-12-01 19:56 ` Hans Aberg
2010-12-02 9:57 ` Marco Maggi
2010-12-02 10:10 ` Marco Maggi
2010-12-02 11:31 ` Hans Aberg
2010-12-02 16:06 ` Hans Aberg
2010-12-03 9:20 ` Hans Åberg
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=82728ACE-C593-4789-BED2-45674C06057E@telia.com \
--to=haberg-1@telia.com \
--cc=guile-user@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).