Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlton / basic / control.sig
1 (* Copyright (C) 1999-2005 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 *
4 * MLton is released under a BSD-style license.
5 * See the file MLton-LICENSE for details.
6 *)
7
8 signature CONTROL =
9 sig
10 val all: unit -> {name: string,
11 value: string} list
12 val control: {name: string,
13 default: 'a,
14 toString: 'a -> string} -> 'a ref
15 val setDefaults: unit -> unit
16 end