diff src/core.sml @ 1848:e15234fbb163

Basis.tryRpc
author Adam Chlipala <adam@chlipala.net>
date Tue, 16 Apr 2013 10:55:48 -0400
parents 0577be31a435
children
line wrap: on
line diff
--- a/src/core.sml	Mon Apr 01 10:13:49 2013 -0400
+++ b/src/core.sml	Tue Apr 16 10:55:48 2013 -0400
@@ -1,4 +1,4 @@
-(* Copyright (c) 2008, Adam Chlipala
+(* Copyright (c) 2008, 2013, Adam Chlipala
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -86,6 +86,8 @@
 
 withtype pat = pat' located
 
+datatype failure_mode = datatype Settings.failure_mode
+
 datatype exp' =
          EPrim of Prim.t
        | ERel of int
@@ -115,7 +117,7 @@
 
        | ELet of string * con * exp * exp
 
-       | EServerCall of int * exp list * con
+       | EServerCall of int * exp list * con * failure_mode
 
 withtype exp = exp' located