emacs-devel
[Top][All Lists]
Advanced

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

Re: Bound index checks in cl-seq functions


From: Tino Calancha
Subject: Re: Bound index checks in cl-seq functions
Date: Tue, 25 Apr 2017 20:14:08 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)



On Fri, 14 Apr 2017, John Wiegley wrote:

Eli Zaretskii <address@hidden> writes:

i am curious if you have any opinion on this thread.  Currently just
`cl-subseq' performs the bounding check index.  I don't see a
clear reason why just this function do it.
Are you in favour or against doing those checks in other functions
handling sequences?

I don't have any firm opinions on this. I do note, however, that your
motivation for signaling an error was contested. So I wonder whether the
cause for this is strong enough to make that change. But I'm willing to
defer to people who use these features more than I do.

I also don't have a strong opinion. Bounds checking is usually helpful, if it
would help those who are using these functions. Otherwise, I wouldn't make the
change "just to make the change", even though it sounds like a good idea.
Thank you.
I am fine with not adding this patch.



reply via email to

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