diff options
Diffstat (limited to 'lib/basis.urs')
-rw-r--r-- | lib/basis.urs | 9 |
1 files changed, 9 insertions, 0 deletions
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 *) |