Mercurial > urweb
diff src/explify.sml @ 44:a9f3ce2d1b9b
Elaborating functor applications
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 19 Jun 2008 17:04:08 -0400 |
parents | b3fbbc6cb1e5 |
children | 3c1ce1b4eb3d |
line wrap: on
line diff
--- a/src/explify.sml Thu Jun 19 16:43:24 2008 -0400 +++ b/src/explify.sml Thu Jun 19 17:04:08 2008 -0400 @@ -110,6 +110,7 @@ | L.StrVar n => (L'.StrVar n, loc) | L.StrProj (str, s) => (L'.StrProj (explifyStr str, s), loc) | L.StrFun _ => raise Fail "Explify functor" + | L.StrApp _ => raise Fail "Explify functor app" | L.StrError => raise Fail ("explifyStr: StrError at " ^ EM.spanToString loc) val explify = map explifyDecl