|
From: | Stefan Monnier |
Subject: | Re: Why (substring "abc" 0 4) does not return "abc" instead of an error? |
Date: | Mon, 16 Jul 2012 16:30:07 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
> I see the benefit of having > (substring "abc" 0 4) > => "abc" > in terms of simplifying Elisp writing -- and I still fail > to see the harm (but maybe Pascal will tell me where he has > been bitten by this.) I don't think such a semantics is harmful, indeed. It's just different, and I don't think this issue affects enough code that it's worth changing from one to the other, nor is it worth adding a special argument for it. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |