Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /smlnj-lib/trunk/CHANGES
ViewVC logotype

Annotation of /smlnj-lib/trunk/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1756 - (view) (download)
Original Path: sml/trunk/src/smlnj-lib/CHANGES

1 : monnier 2 This is a list of changes to the SML/NJ Library; the version numbers
2 :     correspond to SML/NJ releases.
3 : jhr 1340 --------------------------------------------------------------------------------
4 : jhr 1732
5 : jhr 1756 [2005-02-11]
6 :     Added Atom.same and Atom.lexCompare to the Atom structure. Eventually,
7 :     Atom.sameAtom will be removed.
8 :    
9 : jhr 1732 [2004-12-15]
10 :     Change HashString.hashString' to hashSubstring.
11 :    
12 : mblume 1720 [2004-12-09]
13 :     Added two simple statistics modules:
14 :     * RealOrderStats implements selection of arbitrary order
15 :     statistics as well as the median of an array of reals
16 :     in randomized linear time.
17 :     * UnivariateStats implements mean, variance, standard and average
18 :     deviation, skew, kurtosis, and median of a univariate sample
19 :     (i.e., a set of reals).
20 :    
21 : mblume 1718 [2004-11-29]
22 :     Added HashString.hashString' for substrings.
23 :     Hand-inlined CharVector.fold into HashString for efficiency.
24 :     Modified atom.sml so that Atom.atom' first tries to find an
25 :     existing atom before turning its argument into a string. [-blume]
26 :    
27 : mblume 1350 [2003-09-03]
28 :     Minor modifications to random.sml due to changes to some
29 :     Basis interfaces (slices).
30 :     Significant surgery on bit-array.sml to make it compile with
31 :     new signature MONO_ARRAY. This will require further cleanup
32 :     in the future.
33 : monnier 2
34 : mblume 1350 [2003-08-28]
35 :     Made compilation of int-inf* conditional. (The Basis now has
36 :     a spec-conforming implementation of IntInf, so the one here is
37 :     no longer needed.) [-blume]
38 :    
39 : jhr 1340 [2003-07-31]
40 :     Added getDevice function to PP_STREAM signature.
41 :    
42 : mblume 1335 [2003-05-27]
43 :     Avoid poly-eq in Util/parser-comb.sml.
44 :    
45 : mblume 1334 [2003-05-22]
46 :     More cleanup (all in the name of eliminating incomplete matches):
47 :     - in HTML/html-attrs-fn.sml: fill in missing patterns in two
48 :     case expressions
49 :     - in HTML/html-gram: rewrote function groupDefListContents
50 :     to avoid the (unnecessary) incomplete match
51 :     - in PP/devices/html-dev.sml: made the implementation of popStyle
52 :     agree with the comment above it (popStyle on an empty
53 :     stack is supposed to be a nop)
54 : jhr 1340 - in PP/src/pp-stream-fn.sml: function setSize: handle case of
55 :     an empty scanStk
56 : mblume 1334 - in Util/prime-sizes.sml: raise Fail exceptions instead of
57 :     Match exceptions when reaching the end of a list
58 :     (Perhaps this should eventually be rewritten using an on-demand
59 :     prime-number generator that kicks when needed.)
60 : jhr 751
61 : jhr 1333 [2003-05-22]
62 :     Cleanup logic in Scan.scanf function.
63 :    
64 : jhr 1268 [2002-10-03]
65 :     Fixed bug in formating reals with the %g format.
66 :    
67 : jhr 1248 [2002-06-18]
68 :     Fixed a bug in MatchTree.nth (regexp library). Thanks to
69 :     Sami Nopanen.
70 :    
71 : jhr 1206 [2002-05-20]
72 : jhr 1209 Fixed bug in IntInf module: scanning of hex literals was not
73 :     handling "0x" prefixes.
74 :    
75 :     [2002-05-20]
76 : jhr 1206 Added ControlUtil module and stringControls function.
77 :    
78 : jhr 1194 [2002-05-17]
79 : jhr 1199 Added tyName field to ValueSyntax exception in Controls module
80 :     and path field to registry tree in ControlRegistry module.
81 : jhr 1195
82 :     [2002-05-17]
83 : jhr 1194 Added == and != operators to INT_INF interface. These are a
84 :     placeholder until IntInf moves into the SML/NJ compiler.
85 :    
86 : jhr 1193 [2002-05-16]
87 :     Added mergeWith function to ORD_MAP interface.
88 :    
89 :     [2002-05-15]
90 :     Revised Controls library.
91 :    
92 :     [2002-04-17]
93 :     Added Matthias Blume's implementation of Danvey-style format
94 :     combinators to the Util library.
95 :    
96 :     [2002-03-14]
97 :     Merged in Matthias Blume's Controls library. Warning: the API
98 :     to this library is likely to change as we get some experience
99 :     with it.
100 :    
101 :     [2002-03-11]
102 :     Added consR1 .. consR5 functions to HashCons library. These
103 :     can be used to hash-cons record types.
104 :    
105 : jhr 1081 [2002-02-21]
106 :     Fixed infinite loop in LeftPriorityQFn.fromList when given a
107 :     singleton list as input (Chris Okasaki provided the fix).
108 : blume 1077
109 :     [2002-02-12]
110 : jhr 1061 Added implementation of priority queues to Util library (using
111 :     Okasaki's leftist-tree implementation).
112 :    
113 : jhr 967 [2001-10-19]
114 :     Added new HashCons library.
115 :    
116 :     [2001-10-19]
117 :     Added PrimeSizes module to Util library.
118 :    
119 :     [2001-09-27]
120 :     Fixed bug in UnixEnv module (reported by Leunga).
121 :    
122 :     [2001-05-05]
123 :     Added addrToString function to SockUtil module in INet library.
124 :    
125 : jhr 816 [2001-05-04]
126 :     Modified GraphSCC module to support a list of roots (Blume).
127 :     The old interface still works, but will be dropped when we move
128 :     to the new Util library.
129 :    
130 :     [2001-04-06]
131 :     Added partition function to ORD_SET interface.
132 :    
133 :     [2001-04-05]
134 :     Added hasProps function to PropList module.
135 :    
136 :     [2001-03-16]
137 :     Minor bug fix in GetOpt: don't pad the help string, since it causes
138 :     line wraps when one of the help lines is longer than the screen
139 :     width. It was also unneccesary.
140 :    
141 :     [2001-02-23]
142 :     Added inDomain function to the various kinds of hash tables.
143 :    
144 : jhr 785 [2001-02-22]
145 :     Fixed bug in {Int,Word}RedBlackMapFn.insert (bug 1591).
146 :    
147 : jhr 784 [2000-12-13]
148 : jhr 816 Added the bit operations to the IntInf module (Leung).
149 : jhr 784
150 : jhr 751 [2000-11-17]
151 :     Added where clause to GraphSCCFn result signature (Blume).
152 :    
153 :     [2000-10-20]
154 :     Made the result signature of the RegExpFn functor be opaque.
155 :    
156 :     [2000-09-28]
157 :     SML/NJ 110.0.7 release.
158 :    
159 : jhr 702 [2000-09-02]
160 :     Added Word versions of hash tables (WordHashTable), finite
161 :     maps (WordRedBlackMap), and sets (WordRedBlackSet).
162 :    
163 :     [2000-09-02]
164 :     fixed bug in Format module (infinity caused infinite loop).
165 :    
166 :     [2000-07-19]
167 :     added anchored paths in CM files for NEW_CM.
168 :    
169 : jhr 688 [2000-06-30]
170 :     added implementation of LWORD in Format module.
171 :    
172 :     [2000-05-16]
173 :     Fixed bug in dfa-engine.sml (bug number 1559).
174 :    
175 :     [2000-05-08]
176 :     Added setFn to PList.newProp return type.
177 :    
178 :     [2000-05-05]
179 :     Added sameHolder function to PropList module.
180 :    
181 : jhr 596 [2000-04-05]
182 :     Fixed a bug in the filter/filteri hash table functions: the number
183 :     of items in the table was not being recomputed.
184 :    
185 :     [2000-04-04]
186 :     Added modify and modifyi iterators to hash tables.
187 :    
188 :     [2000-03-28]
189 :     Added anchorLink style to HTMLDev structure in PP/devices.
190 :    
191 : monnier 498 [1999-12-03]
192 :     Added IntHashTable structure to Util library; this structure is
193 :     a specialization of hash tables to integer keys.
194 : monnier 2
195 : monnier 498 [1999-12-03]
196 :     Added default cases to avoid "match not exhaustive" warnings.
197 :    
198 :     [1999-12-03]
199 :     Added GraphSCCFn functor to Util library, which implements a
200 :     strongly-connected components algorithm on directed graphs (written
201 :     by Matthias Blume).
202 :    
203 :     [1999-11-10]
204 :     Fixed a benign type error in RegExp/BackEnd/fsm.sml that was exposed by
205 :     the previous change.
206 :    
207 :     [1999-11-7]
208 :     Made the result signatures of ListSetFn and ListMapFn opaque.
209 :    
210 :     [1999-11-1]
211 :     Fixed bug in PP/devices/sources.cm under new CM (missing smlnj-lib.cm).
212 :    
213 : monnier 475 [1999-10-20]
214 :     Fixed bug in RedBlack trees (the linear time construction of
215 :     trees from ordered sequences was producing backwards trees).
216 :    
217 :     [1999-10-18]
218 :     Changed UREF signature so that union, unify, and link operations
219 :     now return a boolean.
220 :    
221 :     [1999-10-18]
222 :     Added peekFn to PropList.newProp return result.
223 :    
224 :     [1999-10-14]
225 :     Added TextIOPP structure to pp-lib.cm (it was not being exported).
226 :    
227 : monnier 469 [1999-09-21]
228 :     Changed the getOpt API. Errors are now reported using a callback
229 :     and both usage and getOpt take records as arguments. Also changed
230 :     the NoArg descriptor to take a function so that imperative argument
231 :     processing can be supported.
232 :    
233 :     [1999-09-20]
234 :     Changed CM files to be compatible with both the old (110.0.x) and
235 :     new (110.20+) versions of CM.
236 :    
237 :     [1999-09-17]
238 :     Added PropList:PROP_LIST structure. This structure implements
239 :     property lists using Stephen Weeks's technique.
240 :    
241 :     [1999-09-17]
242 :     Improved the red-black tree implementations with linear-time union,
243 :     intersection, difference, and filter operations. Also reimplemented
244 :     the delete function in a way that does not require an extra constructor.
245 :    
246 :     [1999-09-09]
247 :     Added Red-Black-Tree implementation of sets and maps. Two new
248 :     functors (RedBlackMapFn and RedBlackSetFn) and four new structures
249 :     (IntRedBlackMap, IntRedBlackSet, AtomIntRedBlackMap, and IntRedBlackSet).
250 :     Also added aliases AtomMap and AtomSet that for the RB implementations.
251 :    
252 :     [1999-09-03]
253 :     Added missing support for WORD and WORD8 format items to Format structure.
254 :     Still need to handle LWORD items!!
255 :    
256 :     [1999-08-17]
257 :     Added DynamicArray:DYNAMIC_ARRAY structure.
258 :    
259 : monnier 411 [1999-07-06]
260 :     Added declarative representation of pretty-printing to PPStreamFn.
261 :     This replaces the PPDescFn and PP_DESC components (which were not
262 :     implemented anyway).
263 :    
264 :     [1999-07-02]
265 :     Moved SockUtil structure into a new INet library. Also split out the
266 :     Unix-specific socket operations into a UnixSockUtil module. (Sockets
267 :     are now supported on Win32).
268 :    
269 :     [1999-06-17]
270 :     Added listKeys function to ORD_MAP API.
271 :    
272 :     [1999-06-14]
273 :     Added Riccardo Pucella's GetOpt structure to Util library.
274 :    
275 :     [1999-06-14]
276 :     Added singleton and inDomain functions to ORD_MAP API.
277 :    
278 :     [1999-06-02]
279 :     Merged in some bug fixes from the compiler's version of the IntInf
280 :     structure.
281 :    
282 : monnier 289 [1999-05-05]
283 :     Fixed a couple of bugs in the PP library having to do with nesting
284 :     absolute and relative indentations.
285 :    
286 :     [1999-04-21]
287 :     Added a way to pass control information to a PP device via the PP
288 :     stream (function control in PP_STREAM).
289 :    
290 :     [1999-04-16]
291 :     Added better style support to the HTML PP device.
292 :    
293 :     [1998-09-04]
294 :     Added isEmpty predicate and first fucntion to ORD_MAP
295 :     signature (and to implementations).
296 :    
297 :     [1998-06-23]
298 :     Fixed a bug in ParserComb.bind (reported by Andrew Kennedy).
299 :    
300 :     --------------------------------------------------------------------------------
301 : monnier 106 [1998-04-15] 110 --> 110.5
302 :     --------------------------
303 :    
304 :     There is now a regular expression library (mostly implemented by Riccardo
305 :     Pucella). The implementation separates front-ends (which specify the
306 :     syntax of REs) from back-ends (which implement the matching algorithms).
307 :     Currently, we support AWK syntax as the only front-end and two different
308 :     back-ends.
309 :    
310 :     Added an implementation of the SML/NJ PP API to the pretty-printer examples.
311 :    
312 :     Fixed a bug in the IntInf structure with scanning strings of the form "1+2".
313 :     Also did some clean-up of the code.
314 :    
315 :    
316 :     --------------------------------------------------------------------------------
317 : monnier 8 [1997-12-07] 109.32 --> 110
318 :     ---------------------------
319 :    
320 : monnier 29 Added the function add' to the ORD_SET signature and the function insert'
321 :     to the ORD_MAP signature. These functions fit the pattern of the fold
322 :     functions. (110 patch 3)
323 :    
324 :     Added the IntInf:INT_INF structure to the Util library. This is a subset
325 :     of the optional IntInf structure defined by the SML'97 basis.
326 :    
327 :     Changed the Rand structure to use words as seeds and results. This also
328 :     fixes bug 1047. (110 patch 3)
329 :    
330 : monnier 8 Added a clear operation to the Queue and various hash table structures.
331 :    
332 :     Changed the ListFormat.formatList to ListFormat.fmt and ListFormat.scanList
333 :     to ListFormat.scan. Added the function ListFormat.listToString.
334 :    
335 :     Updated the HTML library to the final 3.2 specification. This involved adding
336 :     a new BODY element type (with attributes). Also, removed the header/footer
337 :     arguments to the pretty-printer (they were a gross hack).
338 :    
339 :     Added PathUtil structure to Util library. This is a more general version
340 :     of the old UnixPath module.
341 :    
342 :    
343 :     --------------------------------------------------------------------------------
344 :     [1997-10-01] 109.31 --> 109.32
345 :     ------------------------------
346 :    
347 :     Changed the type of the exec instruction in the Reactive library.
348 :    
349 :    
350 :     --------------------------------------------------------------------------------
351 : monnier 2 [1997-09-09] 109.30 --> 109.31
352 :     ------------------------------
353 :    
354 :     Added the Reactive library, which supports reactive scripting. This is a
355 :     first cut, and hasn't been extensively tested.
356 :    
357 :     Changed the names of SockUtil.sock{Recv,Send}* to SockUtil.{recv,send}*
358 :     (since the sock prefix was redundant).
359 :    
360 :     Added some bug fixes to IntListSet that had previously been added to
361 :     the ListSetFn implementation.
362 :    
363 :    
364 :     --------------------------------------------------------------------------------
365 :     [1997-07-17] 109.29 --> 109.30
366 :     ------------------------------
367 :    
368 :     Added a missing case to {ListSetFn,IntListSet}.isSubset.
369 :    
370 :     The bug fix for unionWith was broken. I think I've got it right this
371 :     time.
372 :    
373 :    
374 :     --------------------------------------------------------------------------------
375 :     [1997-07-17] 109.29 --> 109.30
376 :     ------------------------------
377 :    
378 :     Fixed a bug in the binary-tree and splay-tree implementations of the
379 :     unionWith[i] and intersectWith[i] functions. The bug caused the order
380 :     of arguments to the merging function to be wrong in some cases.
381 :    
382 :     Fixed uses of System.Unsafe.
383 :    
384 :     Removed Array2:ARRAY2 from Util library, since the basis now defines these.
385 :    
386 :     Added MonoArrayFn functor for easy creation of monomorphic array structures.
387 :    
388 :     Added Atom.atom' operation for turning substrings into atoms.
389 :    
390 :    
391 :     --------------------------------------------------------------------------------
392 :     [1997-06-13] 109.28 --> 109.29
393 :     ------------------------------
394 :    
395 :     Added collate operation to ORD_MAP signature.
396 :    
397 :     Added compare operation to ORD_SET signature.
398 :    
399 :     Changed the type of and intersectWith[i] in the ORD_MAP signature to be
400 :     more general.
401 :    
402 :     Changed the type of the map function in the ORD_SET signature to return
403 :     a new set (instead of a list).
404 :    
405 :    
406 :     --------------------------------------------------------------------------------
407 :     [1997-05-22] 109.27 --> 109.28
408 :     ------------------------------
409 :    
410 :     Changed various sharing constraints to "where type" definitions to
411 :     compile in SML'97.
412 :    
413 :     Added AtomBinaryMap and AtomBinarySet structures to Util library.
414 :    
415 :    
416 :     --------------------------------------------------------------------------------
417 :     [1997-03-03] 109.25.1 --> 109.25.2
418 :     ----------------------------------
419 :    
420 :     Changed Util/time-limit.sml to reflect new location of callcc/throw.
421 :    
422 :    
423 :     --------------------------------------------------------------------------------
424 :     [1997-02-25] 109.25 --> 109.25.1
425 :     --------------------------------
426 :    
427 :     Added a bunch of new operations to the ordered map modules (BinaryMapFn,
428 :     IntBinaryMap, ListMapFn, IntListFn, and SplayMapFn). The new operations
429 :     are:
430 :     val unionWith : ('a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
431 :     val unionWithi : (Key.ord_key * 'a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
432 :     val intersectWith : ('a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
433 :     val intersectWithi : (Key.ord_key * 'a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
434 :     val filter : ('a -> bool) -> 'a map -> 'a map
435 :     val filteri : (Key.ord_key * 'a -> bool) -> 'a map -> 'a map
436 :     val mapPartial : ('a -> 'b option) -> 'a map -> 'b map
437 :     val mapPartiali : (Key.ord_key * 'a -> 'b option) -> 'a map -> 'b map
438 :    
439 :     Added IOUtil : IO_UTIL structure to the Util library. This provides
440 :     support for dynamically rebinding stdIn and stdOut.
441 :    
442 :     Added KeywordFn functor to the Util library. This provides support for
443 :     implementing scanners, where keyword recognition is done outside the
444 :     basic lexical analysis.
445 :    
446 :     Fixed several bugs in the ListSetFn functor.
447 :    
448 :    
449 :     --------------------------------------------------------------------------------
450 :     [1997-01-10] 109.23 --> 109.24
451 :     ------------------------------
452 :    
453 :     Changed the HASH_TABLE, MONO_HASH_TABLE, MONO_HASH2_TABLE, and ORD_MAP
454 :     interfaces to provide two forms of the listItems function. listItemsi
455 :     returns a list of (key, value) pairs and listItems returns just the values.
456 :     The previous version of listItems was like listItemsi.
457 :    
458 :     Added a missing case for BASEFONT in CheckHTMLFn.check.
459 :    
460 :    
461 :     --------------------------------------------------------------------------------
462 :     [1996-12-07] 109.21.1 --> 109.22
463 :     --------------------------------
464 :    
465 :     Changed the MONO_DYNAMIC_ARRAY signature to make array an eqtype (also changed
466 :     the implementation of DynamicArrayFn).
467 :    
468 :     Fixed a bug in Array2.column
469 :    
470 :    
471 :     --------------------------------------------------------------------------------
472 :     [1996-10-18] 109.19 --> 109.20
473 :     ------------------------------
474 :    
475 :     Added functions for sending/receiving strings over TCP sockets to the
476 :     SockUtil structure.
477 :    
478 :     Fixed a bug with reading on a closed socket in SockUtil.sockRecvVec
479 :    
480 :     Fixed a bug in the implementation of the intersection operation
481 :     in binary sets (BinarySetFn and IntBinarySet).
482 :    
483 :    
484 :     --------------------------------------------------------------------------------
485 :     [1996-10-01] 109.18 --> 109.19
486 :     ------------------------------
487 :    
488 :     Updated the HTML library to the August 21 version of the 3.2 DTD.
489 :    
490 :     Added html-defaults.sml to the HTML Library.
491 :    
492 :     Added Parsing combinators to the Util library.
493 :    
494 :     Added Socket utilities to the Unix library.
495 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0