guile-devel
[Top][All Lists]
Advanced

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

Re: Shorter lambda expressions


From: Taylan Ulrich Bayırlı /Kammer
Subject: Re: Shorter lambda expressions
Date: Fri, 24 Jan 2014 12:28:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix)

address@hidden (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



reply via email to

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