Modified translation for pattern abstraction.
authornipkow
Wed, 10 May 1995 08:38:52 +0200
changeset 1116 7fca5aabcbb0
parent 1115 c2d51f10b9ee
child 1117 839ab9c054f6
Modified translation for pattern abstraction.
src/ZF/ZF.thy
--- a/src/ZF/ZF.thy	Tue May 09 22:10:48 1995 +0200
+++ b/src/ZF/ZF.thy	Wed May 10 08:38:52 1995 +0200
@@ -128,8 +128,8 @@
 
   "<x, y, z>"   == "<x, <y, z>>"
   "<x, y>"      == "Pair(x, y)"
-  "%<x,y,zs>.b"   => "split(%x <y,zs>.b)"
-  "%<x,y>.b"      => "split(%x y.b)"
+  "%<x,y,zs>.b"   == "split(%x <y,zs>.b)"
+  "%<x,y>.b"      == "split(%x y.b)"
 (* The <= direction fails if split has more than one argument because
    ast-matching fails.  Otherwise it would work fine *)
 
@@ -234,7 +234,7 @@
 ML
 
 (* Pattern-matching and 'Dependent' type operators *)
-
+(*
 local open Syntax
 
 fun pttrn s = const"@pttrn" $ s;
@@ -255,10 +255,11 @@
   in list_comb(const"_lambda" $ pttrn pats $ ft, args) end;
 
 in
-
+*)
 val print_translation = 
-  [("split", split_tr'),
+  [(*("split", split_tr'),*)
    ("Pi",    dependent_tr' ("@PROD", "op ->")),
    ("Sigma", dependent_tr' ("@SUM", "op *"))];
-
+(*
 end;
+*)