src/Pure/ML-Systems/use_context.ML
author wenzelm
Mon, 23 Mar 2009 21:40:11 +0100
changeset 30672 beaadd5af500
permissions -rw-r--r--
more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;

(*  Title:      Pure/ML-Systems/use_context.ML
    Author:     Makarius

Common context for "use" operations (compiler invocation).
*)

type use_context =
 {tune_source: string -> string,
  name_space: ML_Name_Space.T,
  str_of_pos: int -> string -> string,
  print: string -> unit,
  error: string -> unit};