Nominal/Rsp.thy
changeset 1877 7af807a85e22
parent 1744 00680cea0dde
child 1898 f8c8e2afcc18
--- a/Nominal/Rsp.thy	Mon Apr 19 10:00:52 2010 +0200
+++ b/Nominal/Rsp.thy	Mon Apr 19 10:35:08 2010 +0200
@@ -70,7 +70,7 @@
 *}
 
 ML {*
-fun sym_eqvts ctxt = map (fn x => sym OF [x]) (Nominal_ThmDecls.get_eqvts_thms ctxt)
+fun sym_eqvts ctxt = maps (fn x => [sym OF [x]] handle _ => []) (Nominal_ThmDecls.get_eqvts_thms ctxt)
 fun all_eqvts ctxt =
   Nominal_ThmDecls.get_eqvts_thms ctxt @ Nominal_ThmDecls.get_eqvts_raw_thms ctxt
 *}