diff -r f5cafe803b55 -r 9b5a128cdb5c src/Tools/code/code_haskell.ML --- a/src/Tools/code/code_haskell.ML Fri Jun 19 17:23:21 2009 +0200 +++ b/src/Tools/code/code_haskell.ML Fri Jun 19 17:26:40 2009 +0200 @@ -70,7 +70,7 @@ ]) | pr_term tyvars thm vars fxy (IVar v) = (str o Code_Printer.lookup_var vars) v - | pr_term tyvars thm vars fxy (t as _ `|-> _) = + | pr_term tyvars thm vars fxy (t as _ `|=> _) = let val (binds, t') = Code_Thingol.unfold_abs t; fun pr ((v, pat), ty) = pr_bind tyvars thm BR ((SOME v, pat), ty); @@ -240,7 +240,7 @@ end | pr_stmt (_, Code_Thingol.Classinst ((class, (tyco, vs)), (_, classparam_insts))) = let - val split_abs_pure = (fn (v, _) `|-> t => SOME (v, t) | _ => NONE); + val split_abs_pure = (fn (v, _) `|=> t => SOME (v, t) | _ => NONE); val unfold_abs_pure = Code_Thingol.unfoldr split_abs_pure; val tyvars = Code_Printer.intro_vars (map fst vs) init_syms; fun pr_instdef ((classparam, c_inst), (thm, _)) = case syntax_const classparam