[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: humble proposal: New special form progn-1
From: |
Clément Pit--Claudel |
Subject: |
Re: humble proposal: New special form progn-1 |
Date: |
Wed, 27 Jul 2016 15:07:10 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 2016-07-27 10:38, Tino Calancha wrote:
> You mean that could confuse some people that is like:
> (1- (progn (form)))
> I still like progn-1 more because naturally fit in the sequence:
> prog1, prog2, ..., progn
No, that's not what I meant. I meant that in Lisp when I want to write (n - 1)
I actually write (- n 1); thus, when I see progn-1, I don't read it as "prog (n
minus 1)", but instead as "progn dash 1". Given the convention that foo-1
usually means "internal function used in the implementation of foo", I read it
as "internal function used to implement progn".
signature.asc
Description: OpenPGP digital signature