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

SCM Repository

[smlnj] View of /sml/trunk/old-basis/2004/basis.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4154 - (download) (annotate)
Wed Sep 30 13:36:33 2015 UTC (6 years ago) by jhr
File size: 1261 byte(s)
  Change the implementation of the old-basis to use a shared library
  from the compiler (see base/system/Basis/basis-common.cm).
(* basis-2004.sml
 *
 * COPYRIGHT (c) 2015 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *
 * This file rebinds various basis module names to their 2004 versions.
 *)

(* rebind basis signatures to their 2004 versions *)
signature ARRAY = ARRAY_2004
signature LIST = LIST_2004
signature LIST_PAIR = LIST_PAIR_2004
signature MONO_ARRAY = MONO_ARRAY_2004
signature MONO_VECTOR = MONO_VECTOR_2004
signature OPTION = OPTION_2004
signature STRING = STRING_2004
signature TEXT = TEXT_2004

(* rebind basis structures using 2004 signatures *)
structure Array : ARRAY = Array
structure CharArray : MONO_ARRAY = CharArray
structure CharVector : MONO_VECTOR = CharVector
structure List : LIST = List
structure ListPair : LIST_PAIR = ListPair
structure Option : OPTION = Option
structure Real64Array : MONO_ARRAY = Real64Array
structure Real64Vector : MONO_VECTOR = Real64Vector
structure Text : TEXT = Text
structure Vector : VECTOR = Vector
structure Word8Array : MONO_ARRAY = Word8Array
structure Word8Vector : MONO_VECTOR = Word8Vector

(* the Text modules are extracted from the Text structure *)
structure CharArray : MONO_ARRAY = Text.CharArray
structure CharVector : MONO_VECTOR = Text.CharVector
structure String : STRING = Text.String

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