[m-rev.] for review: document failrue conditions for list.split/4

Julien Fischer jfischer at opturion.com
Thu Jun 2 15:25:46 AEST 2016


Hi Peter,

On Thu, 2 Jun 2016, Peter Wang wrote:

> On Thu, 2 Jun 2016 12:06:38 +1000 (AEST), Julien Fischer <jfischer at opturion.com> wrote:
>>
>> For review by anyone.
>>
>> I would also be intrested in feedback whether the current behaviour
>> of list.{drop,take} when their first argument is negative is intended.
>
> I think the behaviour is okay, and consistent with at least the indexing
> predicates in the list module.

Ok, in that case I propose we add the following sentence to the
documentation.

        If `Len' < 0 then `End' = `List'.

Julien.


More information about the reviews mailing list