guile-devel
[Top][All Lists]
Advanced

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

Re: Why not support (begin), (cond), (case-lambda), etc?


From: David Kastrup
Subject: Re: Why not support (begin), (cond), (case-lambda), etc?
Date: Fri, 06 Jan 2012 18:02:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Mark H Weaver <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>
>> Correct me if I am wrong (I actually have not really understood syntax
>> transformers), but the usual patterns of xxx ... can't be empty (that
>> is,
>
> Actually, you are wrong here.  "e ..." can be empty.  If you want to
> prohibit the empty list, you need to write something like "e0 e ..."
> instead.

Glad to hear it.  I am pretty sure I have seen a number of examples that
covered the empty case extra but maybe part of the reason could have
been the necessity to _grab_ the first element.

-- 
David Kastrup



reply via email to

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