summaryrefslogtreecommitdiff
path: root/src/elab.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-19 16:04:28 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-19 16:04:28 -0400
commit7a1c5e1780fd3c56d9c591821905bb3b3bbfa50a (patch)
tree1ea265b32102b42663cc227b04c8c4e86e4b136f /src/elab.sml
parent5a4ddea95a551c5f95f0dcbda433fe457b61d25a (diff)
Beginning of functor elaboration
Diffstat (limited to 'src/elab.sml')
-rw-r--r--src/elab.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elab.sml b/src/elab.sml
index da64febf..07bb7f8d 100644
--- a/src/elab.sml
+++ b/src/elab.sml
@@ -91,6 +91,7 @@ datatype sgn_item' =
and sgn' =
SgnConst of sgn_item list
| SgnVar of int
+ | SgnFun of string * int * sgn * sgn
| SgnError
withtype sgn_item = sgn_item' located
@@ -106,6 +107,7 @@ datatype decl' =
StrConst of decl list
| StrVar of int
| StrProj of str * string
+ | StrFun of string * int * sgn * sgn * str
| StrError
withtype decl = decl' located