summaryrefslogtreecommitdiff
path: root/src/core.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2013-04-16 10:55:48 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2013-04-16 10:55:48 -0400
commitf4dbd4d3e80432cf1bd41d7f423580da153f11b8 (patch)
tree2dba7c473ff3a8063145c3cd8506ac9013faa904 /src/core.sml
parent82e400315d526eb6c96fd1ad21a8ce75529f7717 (diff)
Basis.tryRpc
Diffstat (limited to 'src/core.sml')
-rw-r--r--src/core.sml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core.sml b/src/core.sml
index 4641d1ab..193825bf 100644
--- a/src/core.sml
+++ b/src/core.sml
@@ -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 @@ datatype pat' =
withtype pat = pat' located
+datatype failure_mode = datatype Settings.failure_mode
+
datatype exp' =
EPrim of Prim.t
| ERel of int
@@ -115,7 +117,7 @@ datatype exp' =
| ELet of string * con * exp * exp
- | EServerCall of int * exp list * con
+ | EServerCall of int * exp list * con * failure_mode
withtype exp = exp' located