bugfix to zipto: left and right were wrong way around.
authordixon
Thu, 02 Nov 2006 14:27:18 +0100
changeset 21145 87a03f9b7db2
parent 21144 17b0b4c6491b
child 21146 c6f103e57c94
bugfix to zipto: left and right were wrong way around.
src/Provers/IsaPlanner/zipper.ML
--- a/src/Provers/IsaPlanner/zipper.ML	Thu Nov 02 13:35:09 2006 +0100
+++ b/src/Provers/IsaPlanner/zipper.ML	Thu Nov 02 14:27:18 2006 +0100
@@ -331,8 +331,8 @@
   (* implicit arguments: C.D.dtrm list, then T *)
   val zipto = 
       C.fold (fn C.D.Abs _ => move_down_abs 
-               | C.D.AppL _ => move_down_left
-               | C.D.AppR _ => move_down_right) 
+               | C.D.AppL _ => move_down_right
+               | C.D.AppR _ => move_down_left);
 
   (* Note: interpretted as being examined depth first *)
   datatype zsearch = Here of T | LookIn of T;