src/Pure/ML/exn_output.ML
author wenzelm
Wed, 12 Aug 2015 13:53:51 +0200
changeset 60916 a6e2a667b0a8
parent 56303 4cc3f4db3447
child 62357 ab76bd43c14a
permissions -rw-r--r--
resolve undefined blobs by default, e.g. relevant for ML debugger to avoid reset of breakpoints after reload;

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