summaryrefslogtreecommitdiff
path: root/transfer/examples/disjpatt.tra
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-06-26 21:05:01 +0000
committeraarne <aarne@cs.chalmers.se>2008-06-26 21:05:01 +0000
commitfb1d9b7d2c3c8261fc5a2ce3698e6749458b207a (patch)
tree466adc81f2c6ac803d20804863927c076e2b243a /transfer/examples/disjpatt.tra
parent33eb6d899fef48f2d38a92bc0fab66ff585be553 (diff)
removed transfer from gf3
Diffstat (limited to 'transfer/examples/disjpatt.tra')
-rw-r--r--transfer/examples/disjpatt.tra24
1 files changed, 0 insertions, 24 deletions
diff --git a/transfer/examples/disjpatt.tra b/transfer/examples/disjpatt.tra
deleted file mode 100644
index 740e08a7b..000000000
--- a/transfer/examples/disjpatt.tra
+++ /dev/null
@@ -1,24 +0,0 @@
-data Cat : Type where
- VarOrWild : Cat
- Exp : Cat
- Ident : Cat
-
-data Tree : Cat -> Type where
- EAbs : Tree VarOrWild -> Tree Exp -> Tree Exp
- EPi : Tree VarOrWild -> Tree Exp -> Tree Exp -> Tree Exp
- EVar : Tree Ident -> Tree Exp
- EType : Tree Exp
- EStr : String -> Tree Exp
- EInt : Integer -> Tree Exp
- VVar : Tree Ident -> Tree VarOrWild
- VWild : Tree VarOrWild
- Ident : String -> Tree Ident
-
-
-f e = case e of
- EAbs (VWild || VVar _) e || EPi (VWild || VVar _) _ e -> doSomething e
- Ident i -> Ident i
- _ -> catchAll
-
-
-g (Ident x || EAbs (VWild || VVar _) t e) = x e \ No newline at end of file