summaryrefslogtreecommitdiff
path: root/transfer/examples
diff options
context:
space:
mode:
Diffstat (limited to 'transfer/examples')
-rw-r--r--transfer/examples/nat.tr4
1 files changed, 0 insertions, 4 deletions
diff --git a/transfer/examples/nat.tr b/transfer/examples/nat.tr
index cd9101574..c529e5238 100644
--- a/transfer/examples/nat.tr
+++ b/transfer/examples/nat.tr
@@ -14,9 +14,5 @@ natToInt : Nat -> Int
natToInt Zero = 0
natToInt (Succ n) = 1 + natToInt n
-plus : Nat -> Nat -> Nat
-plus Zero y = y
-plus (Succ x) y = Succ (plus x y)
-
intToNat : Int -> Nat
intToNat n = if n == 0 then Zero else Succ (intToNat (n-1))