From: taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: Shorter lambda expressions
Date: Fri, 24 Jan 2014 12:28:27 +0100 [thread overview]
Message-ID: <87ppnhzkis.fsf@taylan.uni.cx> (raw)
In-Reply-To: <87iot9lkfg.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 24 Jan 2014 11:54:11 +0100")
ludo@gnu.org (Ludovic Courtès) writes:
> One related thing I sometimes lack is:
>
> (define-syntax-rule (thunk exp ...)
> (lambda () exp ...))
My understanding is that that'd be (^ exp ...). `thunk' might be nicer
for one's tastes, but some consistency between different people's code
would be desired, so let me recommend sticking to ^ because:
* It's 4 characters shorter, which is a whole 1/20 (5%) of 80 columns!
* It's consistent with all the ^x etc.
I'm not entirely serious about the first point, though I do desire
consistency between people's code. :-)
Taylan
next prev parent reply other threads:[~2014-01-24 11:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-23 4:51 Shorter lambda expressions Mark H Weaver
2014-01-23 7:17 ` Mateusz Kowalczyk
2014-01-23 8:17 ` Panicz Maciej Godek
2014-01-24 10:54 ` Ludovic Courtès
2014-01-24 11:28 ` Taylan Ulrich Bayırlı/Kammer [this message]
2014-01-24 16:09 ` Mark H Weaver
2016-09-23 16:44 ` Panicz Maciej Godek
2016-09-24 9:38 ` Panicz Maciej Godek
[not found] <201401241138.s0OBc9u5025102@lambda.ccs.neu.edu>
2014-01-24 13:28 ` Eli Barzilay
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=87ppnhzkis.fsf@taylan.uni.cx \
--to=taylanbayirli@gmail.com \
--cc=guile-devel@gnu.org \
--cc=ludo@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).