emacs-devel
[Top][All Lists]
Advanced

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

Re: behaviour change in cl-subseq


From: Phillip Lord
Subject: Re: behaviour change in cl-subseq
Date: Fri, 07 Aug 2015 16:51:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Nicolas Petton <address@hidden> writes:

> Phillip Lord <address@hidden> writes:
>
>> Was working through this, and found this behaviour.
>>
>> ;; error
>> (seq-subseq '() 10 10)
>>
>> ;; nil
>> (seq-subseq '() -10 -10)
>>
>> So, a bounding box error when the index is too large, but it is silently
>> ignored when too low.
>>
>> Not convinced this makes sense.
>
> Indeed, it doesn't.  Do you want to push a patch for it?


Yes, will do. My expectation is this:

;; error
(seq-subseq '() 10 10)

;; (same) error
(seq-subseq '() -10 -10)


You agree?

Phil



reply via email to

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