author | wenzelm |
Thu, 16 Oct 2008 22:44:26 +0200 | |
changeset 28617 | c9c1c8b28a62 |
parent 28616 | ac1da69fbc5a |
child 28618 | fa09f7b8ffca |
--- a/src/Pure/context.ML Thu Oct 16 22:44:25 2008 +0200 +++ b/src/Pure/context.ML Thu Oct 16 22:44:26 2008 +0200 @@ -356,7 +356,7 @@ in thy' end; fun maximal_thys thys = - thys |> filter (fn thy => not (exists (fn thy' => proper_subthy (thy, thy')) thys)); + thys |> filter_out (fn thy => exists (fn thy' => proper_subthy (thy, thy')) thys); fun begin_thy pp name imports = if name = draftN then error ("Illegal theory name: " ^ quote draftN)