1 |
This is a list of changes to the SML/NJ Library; the version numbers |
This is a list of changes to the SML/NJ Library; the version numbers |
2 |
correspond to SML/NJ releases. |
correspond to SML/NJ releases. |
|
|
|
3 |
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
4 |
|
|
5 |
|
[2007-10-02] |
6 |
|
A collection of bug fixes for machine.sml in the Reactive library. |
7 |
|
(Thanks to Timothy Bourke) |
8 |
|
|
9 |
|
[2007-05-15] |
10 |
|
Made the UnixPath.path_list type concrete (= string list). |
11 |
|
|
12 |
|
[2007-04-24] |
13 |
|
Added next function to Fifo and Queue modules. |
14 |
|
|
15 |
|
[2007-02-15] |
16 |
|
Removed vestigial IntInf and INT_INF definitions. |
17 |
|
|
18 |
|
[2007-02-14] |
19 |
|
Changed the representation type of UTF8.wchar from Word32.word to word. |
20 |
|
Also added the UTF8.maxCodePoint value. |
21 |
|
|
22 |
|
[2007-01-30] |
23 |
|
Added the lookup function to the ORD_MAP interface. |
24 |
|
|
25 |
|
[2007-01-30] |
26 |
|
Added the fromList function to the ORD_SET interface. For the red-black |
27 |
|
tree and list based implementations, this operation is linear for ordered |
28 |
|
inputs. |
29 |
|
|
30 |
|
[2007-01-28] |
31 |
|
Added UTF8 signature and structure. |
32 |
|
|
33 |
|
[2005-11-07] |
34 |
|
Internal change: replaced uses of the depreciated Substring.all |
35 |
|
with the Substring.full |
36 |
|
|
37 |
|
[2005-11-05] |
38 |
|
Tweaking of the interval set API. Added iterators on items and |
39 |
|
changed the iterators on intervals to have a "Int" suffix. |
40 |
|
Changed addInterval to addInt, changed list to intervals. Added |
41 |
|
the items function. |
42 |
|
|
43 |
|
[2005-10-31] |
44 |
|
Fixed a bug in IntervalSetFn().intersect. |
45 |
|
|
46 |
|
[2005-10-25] |
47 |
|
Added interval sets to utility library (signatures INTERVAL_DOMAIN |
48 |
|
and INTERVAL_SET, and functor IntervalSetFn). |
49 |
|
|
50 |
|
[2005-08-04] |
51 |
|
Renamed graph-scc.sml to graph-scc-fn.sml. |
52 |
|
|
53 |
|
[2005-07-23] |
54 |
|
Fix PP library to export ANSITermDev, ANSITermPP, PPDescFn, and |
55 |
|
PP_DESC. Also add nbSpace to PP_DESC signature. |
56 |
|
|
57 |
|
[2005-07-12] |
58 |
|
Added ANSITermDev device that uses ANSI terminal display attributes |
59 |
|
and added a ANSITermPP for pretty printing to such a device. |
60 |
|
|
61 |
|
[2005-07-06] |
62 |
|
Added ANSITerm structure, which provides support for ANSI terminal |
63 |
|
display attributes (e.g., red text). |
64 |
|
|
65 |
|
[2005-07-06] |
66 |
|
Refactored the pretty printing library. The declarative way to |
67 |
|
construct pretty-printing descriptions now sits on top of the |
68 |
|
PP_STREAM interface. Also removed "onNewline" function, which |
69 |
|
was not implemented. |
70 |
|
|
71 |
|
[2005-05-05] |
72 |
|
Added singleton function to MONO_PRIORITYQ interface. |
73 |
|
|
74 |
|
[2005-05-04] |
75 |
|
Added the "join" combinator to ParserComb. |
76 |
|
|
77 |
|
[2005-03-21] |
78 |
|
Fixed a bug in GetOpt.getOpt. The argument processing functions |
79 |
|
for ReqArg and OptArg, and the embedding function for ReturnInOrder |
80 |
|
were getting applied to all arguments, even past a "--". |
81 |
|
|
82 |
|
[2005-02-11] |
83 |
|
Added Atom.same and Atom.lexCompare to the Atom structure. Eventually, |
84 |
|
Atom.sameAtom will be removed. |
85 |
|
|
86 |
|
[2004-12-15] |
87 |
|
Change HashString.hashString' to hashSubstring. |
88 |
|
|
89 |
|
[2004-12-09] |
90 |
|
Added two simple statistics modules: |
91 |
|
* RealOrderStats implements selection of arbitrary order |
92 |
|
statistics as well as the median of an array of reals |
93 |
|
in randomized linear time. |
94 |
|
* UnivariateStats implements mean, variance, standard and average |
95 |
|
deviation, skew, kurtosis, and median of a univariate sample |
96 |
|
(i.e., a set of reals). |
97 |
|
|
98 |
|
[2004-11-29] |
99 |
|
Added HashString.hashString' for substrings. |
100 |
|
Hand-inlined CharVector.fold into HashString for efficiency. |
101 |
|
Modified atom.sml so that Atom.atom' first tries to find an |
102 |
|
existing atom before turning its argument into a string. [-blume] |
103 |
|
|
104 |
|
[2003-09-03] |
105 |
|
Minor modifications to random.sml due to changes to some |
106 |
|
Basis interfaces (slices). |
107 |
|
Significant surgery on bit-array.sml to make it compile with |
108 |
|
new signature MONO_ARRAY. This will require further cleanup |
109 |
|
in the future. |
110 |
|
|
111 |
|
[2003-08-28] |
112 |
|
Made compilation of int-inf* conditional. (The Basis now has |
113 |
|
a spec-conforming implementation of IntInf, so the one here is |
114 |
|
no longer needed.) [-blume] |
115 |
|
|
116 |
|
[2003-07-31] |
117 |
|
Added getDevice function to PP_STREAM signature. |
118 |
|
|
119 |
|
[2003-05-27] |
120 |
|
Avoid poly-eq in Util/parser-comb.sml. |
121 |
|
|
122 |
|
[2003-05-22] |
123 |
|
More cleanup (all in the name of eliminating incomplete matches): |
124 |
|
- in HTML/html-attrs-fn.sml: fill in missing patterns in two |
125 |
|
case expressions |
126 |
|
- in HTML/html-gram: rewrote function groupDefListContents |
127 |
|
to avoid the (unnecessary) incomplete match |
128 |
|
- in PP/devices/html-dev.sml: made the implementation of popStyle |
129 |
|
agree with the comment above it (popStyle on an empty |
130 |
|
stack is supposed to be a nop) |
131 |
|
- in PP/src/pp-stream-fn.sml: function setSize: handle case of |
132 |
|
an empty scanStk |
133 |
|
- in Util/prime-sizes.sml: raise Fail exceptions instead of |
134 |
|
Match exceptions when reaching the end of a list |
135 |
|
(Perhaps this should eventually be rewritten using an on-demand |
136 |
|
prime-number generator that kicks when needed.) |
137 |
|
|
138 |
|
[2003-05-22] |
139 |
|
Cleanup logic in Scan.scanf function. |
140 |
|
|
141 |
|
[2002-10-03] |
142 |
|
Fixed bug in formating reals with the %g format. |
143 |
|
|
144 |
|
[2002-06-18] |
145 |
|
Fixed a bug in MatchTree.nth (regexp library). Thanks to |
146 |
|
Sami Nopanen. |
147 |
|
|
148 |
|
[2002-05-20] |
149 |
|
Fixed bug in IntInf module: scanning of hex literals was not |
150 |
|
handling "0x" prefixes. |
151 |
|
|
152 |
|
[2002-05-20] |
153 |
|
Added ControlUtil module and stringControls function. |
154 |
|
|
155 |
|
[2002-05-17] |
156 |
|
Added tyName field to ValueSyntax exception in Controls module |
157 |
|
and path field to registry tree in ControlRegistry module. |
158 |
|
|
159 |
|
[2002-05-17] |
160 |
|
Added == and != operators to INT_INF interface. These are a |
161 |
|
placeholder until IntInf moves into the SML/NJ compiler. |
162 |
|
|
163 |
|
[2002-05-16] |
164 |
|
Added mergeWith function to ORD_MAP interface. |
165 |
|
|
166 |
|
[2002-05-15] |
167 |
|
Revised Controls library. |
168 |
|
|
169 |
|
[2002-04-17] |
170 |
|
Added Matthias Blume's implementation of Danvey-style format |
171 |
|
combinators to the Util library. |
172 |
|
|
173 |
|
[2002-03-14] |
174 |
|
Merged in Matthias Blume's Controls library. Warning: the API |
175 |
|
to this library is likely to change as we get some experience |
176 |
|
with it. |
177 |
|
|
178 |
|
[2002-03-11] |
179 |
|
Added consR1 .. consR5 functions to HashCons library. These |
180 |
|
can be used to hash-cons record types. |
181 |
|
|
182 |
|
[2002-02-21] |
183 |
|
Fixed infinite loop in LeftPriorityQFn.fromList when given a |
184 |
|
singleton list as input (Chris Okasaki provided the fix). |
185 |
|
|
186 |
|
[2002-02-12] |
187 |
|
Added implementation of priority queues to Util library (using |
188 |
|
Okasaki's leftist-tree implementation). |
189 |
|
|
190 |
|
[2001-10-19] |
191 |
|
Added new HashCons library. |
192 |
|
|
193 |
|
[2001-10-19] |
194 |
|
Added PrimeSizes module to Util library. |
195 |
|
|
196 |
|
[2001-09-27] |
197 |
|
Fixed bug in UnixEnv module (reported by Leunga). |
198 |
|
|
199 |
|
[2001-05-05] |
200 |
|
Added addrToString function to SockUtil module in INet library. |
201 |
|
|
202 |
|
[2001-05-04] |
203 |
|
Modified GraphSCC module to support a list of roots (Blume). |
204 |
|
The old interface still works, but will be dropped when we move |
205 |
|
to the new Util library. |
206 |
|
|
207 |
|
[2001-04-06] |
208 |
|
Added partition function to ORD_SET interface. |
209 |
|
|
210 |
|
[2001-04-05] |
211 |
|
Added hasProps function to PropList module. |
212 |
|
|
213 |
|
[2001-03-16] |
214 |
|
Minor bug fix in GetOpt: don't pad the help string, since it causes |
215 |
|
line wraps when one of the help lines is longer than the screen |
216 |
|
width. It was also unneccesary. |
217 |
|
|
218 |
|
[2001-02-23] |
219 |
|
Added inDomain function to the various kinds of hash tables. |
220 |
|
|
221 |
|
[2001-02-22] |
222 |
|
Fixed bug in {Int,Word}RedBlackMapFn.insert (bug 1591). |
223 |
|
|
224 |
|
[2000-12-13] |
225 |
|
Added the bit operations to the IntInf module (Leung). |
226 |
|
|
227 |
|
[2000-11-17] |
228 |
|
Added where clause to GraphSCCFn result signature (Blume). |
229 |
|
|
230 |
|
[2000-10-20] |
231 |
|
Made the result signature of the RegExpFn functor be opaque. |
232 |
|
|
233 |
|
[2000-09-28] |
234 |
|
SML/NJ 110.0.7 release. |
235 |
|
|
236 |
|
[2000-09-02] |
237 |
|
Added Word versions of hash tables (WordHashTable), finite |
238 |
|
maps (WordRedBlackMap), and sets (WordRedBlackSet). |
239 |
|
|
240 |
|
[2000-09-02] |
241 |
|
fixed bug in Format module (infinity caused infinite loop). |
242 |
|
|
243 |
|
[2000-07-19] |
244 |
|
added anchored paths in CM files for NEW_CM. |
245 |
|
|
246 |
|
[2000-06-30] |
247 |
|
added implementation of LWORD in Format module. |
248 |
|
|
249 |
|
[2000-05-16] |
250 |
|
Fixed bug in dfa-engine.sml (bug number 1559). |
251 |
|
|
252 |
|
[2000-05-08] |
253 |
|
Added setFn to PList.newProp return type. |
254 |
|
|
255 |
|
[2000-05-05] |
256 |
|
Added sameHolder function to PropList module. |
257 |
|
|
258 |
[2000-04-05] |
[2000-04-05] |
259 |
Fixed a bug in the filter/filteri hash table functions: the number |
Fixed a bug in the filter/filteri hash table functions: the number |
260 |
of items in the table was not being recomputed. |
of items in the table was not being recomputed. |