Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / cml / core-cml / version.sml
CommitLineData
7f918cf1
CE
1(* version.sml
2 * 2004 Matthew Fluet (mfluet@acm.org)
3 * Ported to MLton threads.
4 *)
5
6(* version.sml
7 *
8 * COPYRIGHT (c) 1996 AT&T Research.
9 *)
10
11structure Version : VERSION =
12 struct
13 val version = {
14 system = "Concurrent ML (MLton)",
15 version_id = [1, 0, 10],
16 date = "March, 2004"
17 }
18
19 fun f ([], l) = l
20 | f ([x], l) = (Int.toString x)::l
21 | f (x::r, l) = (Int.toString x) :: "." :: f(r, l)
22
23 val banner =
24 concat (
25 #system version ::
26 ", Version " ::
27 f (#version_id version, [", ", #date version])
28 )
29 end
30