Mercurial > hg > xemacs-beta
annotate nt/xemacs.dsw @ 5272:66dbef5f8076
Be better about bounds-checking, #'subseq, #'fill; add same, #'reduce.
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* fns.c (Fsubseq):
Change the string code to better fit in with the rest of this
function (it still uses get_string_range_char(), though, which *may*
diverge algorithmically from what we're doing).
If dealing with a cons, only call #'length if we have reason to
believe that the START and END arguments are badly specified, and
check for circular lists ourselves when that's appropriate.
If dealing with a vector, call Fvector() on the appropriate subset
of the old vector's data directly, don't initialise the result
with nil and then copy.
(Ffill):
Only check the range arguments for a cons SEQUENCE if we have good
reason to think they were badly specified.
(Freduce):
Handle multiple values properly. Add bounds checking to this
function, as specificied by ANSI Common Lisp.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 16 Sep 2010 18:46:05 +0100 |
parents | 2a199f37e01f |
children |
rev | line source |
---|---|
3363 | 1 Microsoft Developer Studio Workspace File, Format Version 6.00 |
2 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! | |
3 | |
4 ############################################################################### | |
5 | |
6 Project: "xemacs"=".\xemacs.dsp" - Package Owner=<4> | |
7 | |
8 Package=<5> | |
9 {{{ | |
10 }}} | |
11 | |
12 Package=<4> | |
13 {{{ | |
14 }}} | |
15 | |
16 ############################################################################### | |
17 | |
18 Global: | |
19 | |
20 Package=<5> | |
21 {{{ | |
22 }}} | |
23 | |
24 Package=<3> | |
25 {{{ | |
26 }}} | |
27 | |
28 ############################################################################### | |
29 |