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 /sml/trunk/src/smlnj-lib/CHANGES
ViewVC logotype

Annotation of /sml/trunk/src/smlnj-lib/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1772 - (view) (download)

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

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