Updated for SML/NJ 110.46+
[bpt/mlt.git] / src / config.sig
CommitLineData
c0a3b488
AC
1(*
2 * Dynamic web page generation with Standard ML
3 * Copyright (C) 2003 Adam Chlipala
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *)
19
20(* User-specified runtime configuration *)
21
22signature CONFIG =
23sig
24 type config
25
26 val default : unit -> config
27 val read : string -> config -> config
28
29 val inPath : config -> string
30 val outPath : config -> string
31 val pubPath : config -> string
32 val lib : config -> string
33 val compiler : config -> string
34 val cm : config -> string list
35 val sml : config -> string
b26ce3d9
AC
36 val beforeT : config -> string option
37 val afterT : config -> string option
38 val exnT : config -> string option
c0a3b488
AC
39
40 val printFn : config -> string -> string option
41end