From 29a7ea8ff27061917f6e5352f9d1eb8ccad7c680 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 21 Oct 2008 10:34:07 -0400 Subject: num working for int --- lib/basis.urs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib') diff --git a/lib/basis.urs b/lib/basis.urs index 177554a9..18cd4c37 100644 --- a/lib/basis.urs +++ b/lib/basis.urs @@ -18,6 +18,15 @@ val eq_int : eq int val eq_string : eq string val eq_bool : eq bool +class num +val neg : t ::: Type -> num t -> t -> t +val plus : t ::: Type -> num t -> t -> t -> t +val minus : t ::: Type -> num t -> t -> t -> t +val times : t ::: Type -> num t -> t -> t -> t +val div : t ::: Type -> num t -> t -> t -> t +val mod : t ::: Type -> num t -> t -> t -> t +val num_int : num int + (** String operations *) -- cgit v1.2.3