more primitive operations

This commit is contained in:
Sam Caldwell 2019-05-17 10:34:55 -04:00
parent 5fda25a42e
commit 3def83502a
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@
(define-primop odd? (→fn Int Bool))
(define-primop add1 (→fn Int Int))
(define-primop sub1 (→fn Int Int))
(define-primop max (→fn Int Int Int))
(define-primop min (→fn Int Int Int))
(define-primop bytes->string/utf-8 ( ByteString (Computation (Value String) (Endpoints) (Roles) (Spawns))))
(define-primop string->bytes/utf-8 ( String (Computation (Value ByteString) (Endpoints) (Roles) (Spawns))))