| 1 |
(* Copyright (C) 2010 Matthew Fluet. |
| 2 |
* Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh |
| 3 |
* Jagannathan, and Stephen Weeks. |
| 4 |
* |
| 5 |
* MLton is released under a HPND-style license. |
| 6 |
* See the file MLton-LICENSE for details. |
| 7 |
*) |
| 8 |
|
| 9 |
signature CHOOSE_REALN_ARG = |
| 10 |
sig |
| 11 |
type 'a t |
| 12 |
val fReal32: Real32.real t |
| 13 |
val fReal64: Real64.real t |
| 14 |
end |
| 15 |
|
| 16 |
functor ChooseRealN_Real32 (A : CHOOSE_REALN_ARG) : |
| 17 |
sig val f : Real32.real A.t end = |
| 18 |
struct val f = A.fReal32 val _ = A.fReal64 end |
| 19 |
functor ChooseRealN_Real64 (A : CHOOSE_REALN_ARG) : |
| 20 |
sig val f : Real64.real A.t end = |
| 21 |
struct val _ = A.fReal32 val f = A.fReal64 end |