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/old-basis/2004/basis.sml
ViewVC logotype

Annotation of /sml/trunk/old-basis/2004/basis.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4154 - (view) (download)

1 : jhr 4154 (* basis-2004.sml
2 :     *
3 :     * COPYRIGHT (c) 2015 The Fellowship of SML/NJ (http://www.smlnj.org)
4 :     * All rights reserved.
5 :     *
6 :     * This file rebinds various basis module names to their 2004 versions.
7 :     *)
8 :    
9 :     (* rebind basis signatures to their 2004 versions *)
10 :     signature ARRAY = ARRAY_2004
11 :     signature LIST = LIST_2004
12 :     signature LIST_PAIR = LIST_PAIR_2004
13 :     signature MONO_ARRAY = MONO_ARRAY_2004
14 :     signature MONO_VECTOR = MONO_VECTOR_2004
15 :     signature OPTION = OPTION_2004
16 :     signature STRING = STRING_2004
17 :     signature TEXT = TEXT_2004
18 :    
19 :     (* rebind basis structures using 2004 signatures *)
20 :     structure Array : ARRAY = Array
21 :     structure CharArray : MONO_ARRAY = CharArray
22 :     structure CharVector : MONO_VECTOR = CharVector
23 :     structure List : LIST = List
24 :     structure ListPair : LIST_PAIR = ListPair
25 :     structure Option : OPTION = Option
26 :     structure Real64Array : MONO_ARRAY = Real64Array
27 :     structure Real64Vector : MONO_VECTOR = Real64Vector
28 :     structure Text : TEXT = Text
29 :     structure Vector : VECTOR = Vector
30 :     structure Word8Array : MONO_ARRAY = Word8Array
31 :     structure Word8Vector : MONO_VECTOR = Word8Vector
32 :    
33 :     (* the Text modules are extracted from the Text structure *)
34 :     structure CharArray : MONO_ARRAY = Text.CharArray
35 :     structure CharVector : MONO_VECTOR = Text.CharVector
36 :     structure String : STRING = Text.String

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