Exception handling.
--- a/Quot/quotient_info.ML Wed Dec 09 17:05:33 2009 +0100
+++ b/Quot/quotient_info.ML Wed Dec 09 17:16:39 2009 +0100
@@ -65,6 +65,7 @@
val mapname = Sign.intern_const thy mapstr
val relname = Sign.intern_const thy relstr
+ (* FIXME: if you don't handle the error you also get an error with a similar message: No such constant: "bla" *)
fun check s = (Const (s, dummyT) |> Syntax.check_term ctxt)
handle _ => error ("Constant " ^ s ^ " not declared.")
val _ = map check [mapname, relname]