src/Pure/Syntax/printer.ML
changeset 39117 399977145846
parent 39116 f14735a88886
child 39118 12f3788be67b
equal deleted inserted replaced
39116:f14735a88886 39117:399977145846
     7 signature PRINTER0 =
     7 signature PRINTER0 =
     8 sig
     8 sig
     9   val show_brackets: bool Unsynchronized.ref
     9   val show_brackets: bool Unsynchronized.ref
    10   val show_sorts: bool Unsynchronized.ref
    10   val show_sorts: bool Unsynchronized.ref
    11   val show_types: bool Unsynchronized.ref
    11   val show_types: bool Unsynchronized.ref
    12   val show_free_types_default: bool Unsynchronized.ref
       
    13   val show_free_types_value: Config.value Config.T
       
    14   val show_free_types: bool Config.T
    12   val show_free_types: bool Config.T
    15   val show_all_types: bool Unsynchronized.ref
    13   val show_all_types: bool Unsynchronized.ref
    16   val show_structs: bool Unsynchronized.ref
    14   val show_structs: bool Unsynchronized.ref
    17   val show_question_marks_default: bool Unsynchronized.ref
    15   val show_question_marks_default: bool Unsynchronized.ref
    18   val show_question_marks_value: Config.value Config.T
    16   val show_question_marks_value: Config.value Config.T
    54 val show_sorts = Unsynchronized.ref false;
    52 val show_sorts = Unsynchronized.ref false;
    55 val show_brackets = Unsynchronized.ref false;
    53 val show_brackets = Unsynchronized.ref false;
    56 val show_all_types = Unsynchronized.ref false;
    54 val show_all_types = Unsynchronized.ref false;
    57 val show_structs = Unsynchronized.ref false;
    55 val show_structs = Unsynchronized.ref false;
    58 
    56 
    59 val show_free_types_default = Unsynchronized.ref true;
    57 val show_free_types = Config.bool (Config.declare "show_free_types" (fn _ => Config.Bool true));
    60 val show_free_types_value =
       
    61   Config.declare "show_free_types" (fn _ => Config.Bool (! show_free_types_default));
       
    62 val show_free_types = Config.bool show_free_types_value;
       
    63 
    58 
    64 val show_question_marks_default = Unsynchronized.ref true;
    59 val show_question_marks_default = Unsynchronized.ref true;
    65 val show_question_marks_value =
    60 val show_question_marks_value =
    66   Config.declare "show_question_marks" (fn _ => Config.Bool (! show_question_marks_default));
    61   Config.declare "show_question_marks" (fn _ => Config.Bool (! show_question_marks_default));
    67 val show_question_marks = Config.bool show_question_marks_value;
    62 val show_question_marks = Config.bool show_question_marks_value;