[Top][All Lists]

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

Re: Why (substring "abc" 0 4) does not return "abc" instead of an error?

From: Bastien
Subject: Re: Why (substring "abc" 0 4) does not return "abc" instead of an error?
Date: Tue, 17 Jul 2012 00:32:44 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Thien-Thi Nguyen <address@hidden> writes:

> Overall, the design principle is that you
> want the platform to be firm and the performer flexible, not the
> other way around.  The audience may be pleased either way, but as
> producer, you want the roadies to sleep better lest they revolt...

Got it.  I'll sleep on this.

Now that the social pressure of nice Emacs fellows convinced me 
there was something wrong in my expectations, I still vote for
including `string-head' and `string-tail' (which see).

I see two reasons for not including them: one would be because
they are useless; the other because they would inevitably make 
someone request a new argument ERROR to throw an error when the
length of the head/tail is bigger than the string... but who
would be such a twisted mind?

Anyway, no more argument for tonight.


reply via email to

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