diff -r d61e303fc7e5 -r 3e9809678574 src/Tools/Code/code_haskell.ML --- a/src/Tools/Code/code_haskell.ML Mon Oct 12 14:22:54 2009 +0200 +++ b/src/Tools/Code/code_haskell.ML Mon Oct 12 15:46:38 2009 +0200 @@ -144,12 +144,10 @@ val tyvars = Code_Printer.intro_vars (map fst vs) init_syms; fun pr_eq ((ts, t), (thm, _)) = let - val consts = map_filter - (fn c => if (is_some o syntax_const) c - then NONE else (SOME o Long_Name.base_name o deresolve) c) - (fold Code_Thingol.add_constnames (t :: ts) []); + val consts = fold Code_Thingol.add_constnames (t :: ts) []; val vars = init_syms - |> Code_Printer.intro_vars consts + |> Code_Printer.intro_base_names + (is_none o syntax_const) deresolve consts |> Code_Printer.intro_vars ((fold o Code_Thingol.fold_varnames) (insert (op =)) ts []); in