summaryrefslogtreecommitdiff
path: root/transfer/examples/prim.tr
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-11-28 21:45:22 +0000
committerbringert <bringert@cs.chalmers.se>2005-11-28 21:45:22 +0000
commit02c23401a7a3e54d48084fc2796a485de36383f1 (patch)
tree03574e9f1c862f2b5685741c6c9d8ee8029aea21 /transfer/examples/prim.tr
parent5a82068ddc0e75ee2f2280ffb5da9cda3e53bac3 (diff)
Changed all example programs to use layout syntax.
Diffstat (limited to 'transfer/examples/prim.tr')
-rw-r--r--transfer/examples/prim.tr23
1 files changed, 0 insertions, 23 deletions
diff --git a/transfer/examples/prim.tr b/transfer/examples/prim.tr
deleted file mode 100644
index fe0d32eac..000000000
--- a/transfer/examples/prim.tr
+++ /dev/null
@@ -1,23 +0,0 @@
---
--- Primitives
---
-
-
-String : Type ;
-
-Int : Type ;
-
-prim_add_Int : (_:Int) -> (_:Int) -> Int ;
-prim_sub_Int : (_:Int) -> (_:Int) -> Int ;
-prim_mul_Int : (_:Int) -> (_:Int) -> Int ;
-prim_div_Int : (_:Int) -> (_:Int) -> Int ;
-prim_mod_Int : (_:Int) -> (_:Int) -> Int ;
-
-prim_neg_Int : (_:Int) -> Int ;
-
-prim_lt_Int : (_:Int) -> (_:Int) -> Bool ;
-prim_le_Int : (_:Int) -> (_:Int) -> Bool ;
-prim_gt_Int : (_:Int) -> (_:Int) -> Bool ;
-prim_ge_Int : (_:Int) -> (_:Int) -> Bool ;
-prim_eq_Int : (_:Int) -> (_:Int) -> Bool ;
-prim_ne_Int : (_:Int) -> (_:Int) -> Bool ;