src/Pure/ML/exn_output.ML
author wenzelm
Sun, 27 Jul 2014 15:40:19 +0200
changeset 57821 f11f3d7589b1
parent 56303 4cc3f4db3447
child 62357 ab76bd43c14a
permissions -rw-r--r--
Added tag Isabelle2014-RC1 for changeset c0fd03d13d28

(*  Title:      Pure/ML/exn_output.ML
    Author:     Makarius

Auxiliary operations for exception output -- generic version.
*)

signature EXN_OUTPUT =
sig
  val position: exn -> Position.T
  val pretty: exn -> Pretty.T
end

structure Exn_Output: EXN_OUTPUT =
struct

fun position (_: exn) = Position.none
val pretty = Pretty.str o General.exnMessage;

end;