src/Pure/display.ML
changeset 26928 ca87aff1ad2d
parent 26637 0bfccafc52eb
child 26939 1035c89b4c02
equal deleted inserted replaced
26927:8684b5240f11 26928:ca87aff1ad2d
     9 signature BASIC_DISPLAY =
     9 signature BASIC_DISPLAY =
    10 sig
    10 sig
    11   val goals_limit: int ref
    11   val goals_limit: int ref
    12   val show_hyps: bool ref
    12   val show_hyps: bool ref
    13   val show_tags: bool ref
    13   val show_tags: bool ref
    14   val string_of_thm: thm -> string
       
    15   val print_thm: thm -> unit
       
    16   val print_thms: thm list -> unit
       
    17   val prth: thm -> thm
       
    18   val prthq: thm Seq.seq -> thm Seq.seq
       
    19   val prths: thm list -> thm list
       
    20   val string_of_ctyp: ctyp -> string
       
    21   val print_ctyp: ctyp -> unit
       
    22   val string_of_cterm: cterm -> string
       
    23   val print_cterm: cterm -> unit
       
    24   val print_syntax: theory -> unit
       
    25   val show_consts: bool ref
    14   val show_consts: bool ref
    26 end;
    15 end;
    27 
    16 
    28 signature DISPLAY =
    17 signature DISPLAY =
    29 sig
    18 sig
    30   include BASIC_DISPLAY
    19   include BASIC_DISPLAY
    31   val pretty_flexpair: Pretty.pp -> term * term -> Pretty.T
    20   val pretty_flexpair: Pretty.pp -> term * term -> Pretty.T
    32   val pretty_thm_aux: Pretty.pp -> bool -> bool -> term list -> thm -> Pretty.T
    21   val pretty_thm_aux: Pretty.pp -> bool -> bool -> term list -> thm -> Pretty.T
    33   val pretty_thm: thm -> Pretty.T
    22   val pretty_thm: thm -> Pretty.T
       
    23   val string_of_thm: thm -> string
    34   val pretty_thms: thm list -> Pretty.T
    24   val pretty_thms: thm list -> Pretty.T
    35   val pretty_thm_sg: theory -> thm -> Pretty.T
    25   val pretty_thm_sg: theory -> thm -> Pretty.T
    36   val pretty_thms_sg: theory -> thm list -> Pretty.T
    26   val pretty_thms_sg: theory -> thm list -> Pretty.T
       
    27   val print_thm: thm -> unit
       
    28   val print_thms: thm list -> unit
       
    29   val prth: thm -> thm
       
    30   val prthq: thm Seq.seq -> thm Seq.seq
       
    31   val prths: thm list -> thm list
    37   val pretty_ctyp: ctyp -> Pretty.T
    32   val pretty_ctyp: ctyp -> Pretty.T
       
    33   val string_of_ctyp: ctyp -> string
       
    34   val print_ctyp: ctyp -> unit
    38   val pretty_cterm: cterm -> Pretty.T
    35   val pretty_cterm: cterm -> Pretty.T
       
    36   val string_of_cterm: cterm -> string
       
    37   val print_cterm: cterm -> unit
       
    38   val print_syntax: theory -> unit
    39   val pretty_full_theory: bool -> theory -> Pretty.T list
    39   val pretty_full_theory: bool -> theory -> Pretty.T list
    40   val pretty_goals_aux: Pretty.pp -> Markup.T -> bool * bool -> int -> thm -> Pretty.T list
    40   val pretty_goals_aux: Pretty.pp -> Markup.T -> bool * bool -> int -> thm -> Pretty.T list
    41   val pretty_goals: int -> thm -> Pretty.T list
    41   val pretty_goals: int -> thm -> Pretty.T list
    42   val print_goals: int -> thm -> unit
    42   val print_goals: int -> thm -> unit
    43 end;
    43 end;