diff lib/ur/basis.urs @ 1848:e15234fbb163

Basis.tryRpc
author Adam Chlipala <adam@chlipala.net>
date Tue, 16 Apr 2013 10:55:48 -0400
parents a8b273f1f7e3
children a3d795fbecb9
line wrap: on
line diff
--- a/lib/ur/basis.urs	Mon Apr 01 10:13:49 2013 -0400
+++ b/lib/ur/basis.urs	Tue Apr 16 10:55:48 2013 -0400
@@ -206,6 +206,8 @@
 val sleep : int -> transaction unit
 
 val rpc : t ::: Type -> transaction t -> transaction t
+val tryRpc : t ::: Type -> transaction t -> transaction (option t)
+(* Returns [None] on error condition. *)
 
 
 (** Channels *)