src/Pure/ML/exn_output.ML
author blanchet
Sat, 19 Jul 2014 11:20:09 +0200
changeset 57575 b0d31645f47a
parent 56303 4cc3f4db3447
child 62357 ab76bd43c14a
permissions -rw-r--r--
doc fixes (contributed by Christian Sternagel)

(*  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;