Debian Codegraph @

lib/stubs/smlnj/basis/sources.cm

raw
1 (* Copyright (C) 2009,2019,2022-2023 Matthew Fluet.
2 * Copyright (C) 2002-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 * Copyright (C) 1997-2000 NEC Research Institute.
5 *
6 * MLton is released under a HPND-style license.
7 * See the file MLton-LICENSE for details.
8 *)
9
10 Library
11
12 library($/basis.cm) - (
13 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 99) orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION = 99 andalso SMLNJ_PATCH_VERSION < 3)
14 signature IEEE_REAL
15 signature REAL
16 #endif
17
18 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 83)
19 structure Char
20 #endif
21 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 99) orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION = 99 andalso SMLNJ_PATCH_VERSION < 3)
22 structure IEEEReal
23 #endif
24 structure IntInf
25 structure LargeInt
26 structure PackReal32Little
27 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 79)
28 structure PackReal64Little
29 #endif
30 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 91)
31 structure PackWord64Little
32 #endif
33 structure Real
34 structure Real32
35 structure Real64
36 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 83)
37 structure String
38 #endif
39 )
40
41 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 99) orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION = 99 andalso SMLNJ_PATCH_VERSION < 3)
42 signature IEEE_REAL
43 signature REAL
44 #endif
45
46 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 83)
47 structure Char
48 structure String
49 #endif
50
51 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 99) orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION = 99 andalso SMLNJ_PATCH_VERSION < 3)
52 structure IEEEReal
53 #endif
54 structure IntInf
55 structure LargeInt
56 structure PackReal32Little
57 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 79)
58 structure PackReal64Little
59 #endif
60 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 91)
61 structure PackWord64Little
62 #endif
63 structure Real
64 structure Real32
65 structure Real64
66
67 is
68
69 $/basis.cm
70 pervasive.cm
71
72 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 83)
73 char.sml
74 string.sml
75 #endif
76
77 int-inf.sml
78
79 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 99) orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION = 99 andalso SMLNJ_PATCH_VERSION < 3)
80 ../../common/basis/IEEE-real.sig
81 IEEE-real.sml
82 ../../common/basis/real.sig
83 real.0.sml
84 #else
85 real.1.sml
86 #endif
87 ../../common/basis/real32-via-real.sml
88 ../../common/basis/real64-via-real.sml
89
90 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 91)
91 ../../common/basis/pack-word64-dummy.sml
92 #endif
93
94 #if SMLNJ_VERSION < 110 orelse (SMLNJ_VERSION = 110 andalso SMLNJ_MINOR_VERSION < 79)
95 ../../common/basis/pack-real64-dummy.sml
96 #endif
97 ../../common/basis/pack-real32-dummy.sml