guile-devel
[Top][All Lists]
Advanced

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

Re: Shorter lambda expressions


From: Ludovic Courtès
Subject: Re: Shorter lambda expressions
Date: Fri, 24 Jan 2014 11:54:11 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Panicz Maciej Godek <address@hidden> skribis:

> I think it would be best to extend SRFI-26 with the option of using
> <1>, <2>, ... placeholders, where the resulting lambda would get the
> arity indicated by the highest placeholder. Also, it should support
> nested expressions.
> Personally, I'd prefer it over the Gauche-style extension.

I think I’d prefer this too, but actually I’m mostly satisfied with
SRFI-26.

One related thing I sometimes lack is:

  (define-syntax-rule (thunk exp ...)
    (lambda () exp ...))

(Found in Racket, notably.)

Ludo’.




reply via email to

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