src/Pure/ML-Systems/use_context.ML
author wenzelm
Mon Mar 23 21:40:11 2009 +0100 (2009-03-23)
changeset 30672 beaadd5af500
permissions -rw-r--r--
more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm@30672
     1
(*  Title:      Pure/ML-Systems/use_context.ML
wenzelm@30672
     2
    Author:     Makarius
wenzelm@30672
     3
wenzelm@30672
     4
Common context for "use" operations (compiler invocation).
wenzelm@30672
     5
*)
wenzelm@30672
     6
wenzelm@30672
     7
type use_context =
wenzelm@30672
     8
 {tune_source: string -> string,
wenzelm@30672
     9
  name_space: ML_Name_Space.T,
wenzelm@30672
    10
  str_of_pos: int -> string -> string,
wenzelm@30672
    11
  print: string -> unit,
wenzelm@30672
    12
  error: string -> unit};
wenzelm@30672
    13