summaryrefslogtreecommitdiff
path: root/src/core.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-22 15:12:20 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-22 15:12:20 -0400
commite8ceaa0ae216c7c85e810998ab97989e7a83c82d (patch)
treef26deeee6825b28bb3e6005523f887de3c1a79a4 /src/core.sml
parentb1997d2e699e92e83f7130b7b4a4c5467dcdcd27 (diff)
Simple forms work
Diffstat (limited to 'src/core.sml')
-rw-r--r--src/core.sml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core.sml b/src/core.sml
index 448113cc..ffd149f3 100644
--- a/src/core.sml
+++ b/src/core.sml
@@ -80,11 +80,15 @@ datatype exp' =
withtype exp = exp' located
+datatype export_kind =
+ Link
+ | Action
+
datatype decl' =
DCon of string * int * kind * con
| DVal of string * int * con * exp * string
| DValRec of (string * int * con * exp * string) list
- | DExport of int
+ | DExport of export_kind * int
withtype decl = decl' located