SCM Repository
[smlnj] Diff of /sml/branches/primop-branch-2/src/compiler/FLINT/kernel/ltybasic.sml
Diff of /sml/branches/primop-branch-2/src/compiler/FLINT/kernel/ltybasic.sml
Parent Directory
|
Revision Log
|
Patch
24 |
val tcc_env = LK.tcc_env |
val tcc_env = LK.tcc_env |
25 |
val ltc_env = LK.ltc_env |
val ltc_env = LK.ltc_env |
26 |
|
|
27 |
|
(* duplicated in ltykernel.sml *) |
28 |
|
|
29 |
val itos = Int.toString |
val itos = Int.toString |
30 |
|
|
31 |
fun plist(p, []) = "" |
fun plist(p, []) = "" |
32 |
| plist(p, x::xs) = |
| plist(p, x::xs) = |
33 |
(p x) ^ (String.concat (map (fn z => ("," ^ (p z))) xs)) |
(p x) ^ (String.concat (map (fn z => ("," ^ (p z))) xs)) |
41 |
|
|
42 |
fun parw(p, (ff, t1, t2)) = |
fun parw(p, (ff, t1, t2)) = |
43 |
"<" ^ (p t1) ^ "> -" ^ pfflag ff ^ "-> <" ^ (p t2) ^ ">" |
"<" ^ (p t1) ^ "> -" ^ pfflag ff ^ "-> <" ^ (p t2) ^ ">" |
44 |
|
|
45 |
in |
in |
46 |
|
|
47 |
open LtyDef |
open LtyDef |
|
Legend:
Removed from v.1992 |
|
changed lines |
|
Added in v.1993 |
|
|