src/Pure/ML-Systems/use_context.ML
author wenzelm
Thu, 18 Jul 2013 13:12:54 +0200
changeset 52696 38466f4f3483
parent 30672 beaadd5af500
permissions -rw-r--r--
immutable theory values with full stamp record of every update (increase of stamp size for HOL: 20000 -> 100000, JinjaThreads: 65000 -> 300000) -- minimal measurable impact on inference kernel performance;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
30672
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     1
(*  Title:      Pure/ML-Systems/use_context.ML
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     2
    Author:     Makarius
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     3
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     4
Common context for "use" operations (compiler invocation).
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     5
*)
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     6
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     7
type use_context =
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     8
 {tune_source: string -> string,
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
     9
  name_space: ML_Name_Space.T,
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
    10
  str_of_pos: int -> string -> string,
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
    11
  print: string -> unit,
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
    12
  error: string -> unit};
beaadd5af500 more systematic type use_context, with particular values ML_Parse.global_context and ML_Context.local_context;
wenzelm
parents:
diff changeset
    13