diff src/reduce_local.sml @ 626:230654093b51

demo/hello compiles with kind polymorphism
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Feb 2009 17:17:01 -0500
parents 588b9d16b00a
children 4a125bbc602d
line wrap: on
line diff
--- a/src/reduce_local.sml	Sun Feb 22 16:33:55 2009 -0500
+++ b/src/reduce_local.sml	Sun Feb 22 17:17:01 2009 -0500
@@ -85,8 +85,10 @@
       | EAbs (x, dom, ran, e) => (EAbs (x, dom, ran, exp (Unknown :: env) e), loc)
 
       | ECApp (e, c) => (ECApp (exp env e, c), loc)
+      | ECAbs (x, k, e) => (ECAbs (x, k, exp env e), loc)
 
-      | ECAbs (x, k, e) => (ECAbs (x, k, exp env e), loc)
+      | EKApp (e, k) => (EKApp (exp env e, k), loc)
+      | EKAbs (x, e) => (EKAbs (x, exp env e), loc)
 
       | ERecord xcs => (ERecord (map (fn (x, e, t) => (x, exp env e, t)) xcs), loc)
       | EField (e, c, others) =>