src/Pure/General/output_primitives_virtual.ML
author paulson <lp15@cam.ac.uk>
Fri, 08 Aug 2025 16:46:03 +0100
changeset 82969 dedd9d13c79c
parent 82316 83584916b6d7
permissions -rw-r--r--
Generalised a theorem about Lebesgue integration
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
62978
c04eead96cca tuned headers;
wenzelm
parents: 62933
diff changeset
     1
(*  Title:      Pure/General/output_primitives_virtual.ML
62930
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     2
    Author:     Makarius
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     3
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     4
Primitives for Isabelle output channels -- virtual version within Pure environment.
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     5
*)
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     6
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     7
structure Output_Primitives_Virtual: OUTPUT_PRIMITIVES =
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     8
struct
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
     9
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    10
open Output_Primitives;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    11
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    12
fun writeln_fn x = ! Private_Output.writeln_fn x;
82316
83584916b6d7 support for writeln_urgent, which is shown in Output before state messages (reminiscent of old Output.urgent_message before 521cea5fa777);
wenzelm
parents: 62978
diff changeset
    13
fun writeln_urgent_fn x = ! Private_Output.writeln_urgent_fn x;
62930
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    14
fun state_fn x = ! Private_Output.state_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    15
fun information_fn x = ! Private_Output.information_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    16
fun tracing_fn x = ! Private_Output.tracing_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    17
fun warning_fn x = ! Private_Output.warning_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    18
fun legacy_fn x = ! Private_Output.legacy_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    19
fun error_message_fn x = ! Private_Output.error_message_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    20
fun system_message_fn x = ! Private_Output.system_message_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    21
fun status_fn x = ! Private_Output.status_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    22
fun report_fn x = ! Private_Output.report_fn x;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    23
fun result_fn x y = ! Private_Output.result_fn x y;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    24
fun protocol_message_fn x y = ! Private_Output.protocol_message_fn x y;
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    25
62933
f14569a9ab93 proper output of markup, e.g. relevant for nested ML as used in Pure/System/bash.ML;
wenzelm
parents: 62930
diff changeset
    26
val markup_fn = Markup.output;
f14569a9ab93 proper output of markup, e.g. relevant for nested ML as used in Pure/System/bash.ML;
wenzelm
parents: 62930
diff changeset
    27
62930
51ac6bc389e8 shared output primitives of physical/virtual Pure;
wenzelm
parents:
diff changeset
    28
end;