comparison 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
comparison
equal deleted inserted replaced
1847:8958b580d026 1848:e15234fbb163
204 val confirm : string -> transaction bool 204 val confirm : string -> transaction bool
205 val spawn : transaction unit -> transaction unit 205 val spawn : transaction unit -> transaction unit
206 val sleep : int -> transaction unit 206 val sleep : int -> transaction unit
207 207
208 val rpc : t ::: Type -> transaction t -> transaction t 208 val rpc : t ::: Type -> transaction t -> transaction t
209 val tryRpc : t ::: Type -> transaction t -> transaction (option t)
210 (* Returns [None] on error condition. *)
209 211
210 212
211 (** Channels *) 213 (** Channels *)
212 214
213 con channel :: Type -> Type 215 con channel :: Type -> Type