diff src/core_env.sml @ 461:5c9606deacb6

Cookies through shake2
author Adam Chlipala <adamc@hcoop.net>
date Thu, 06 Nov 2008 10:48:02 -0500
parents bd9ee9aeca2f
children 230654093b51
line wrap: on
line diff
--- a/src/core_env.sml	Thu Nov 06 10:43:48 2008 -0500
+++ b/src/core_env.sml	Thu Nov 06 10:48:02 2008 -0500
@@ -257,6 +257,12 @@
             pushENamed env x n t NONE s
         end
       | DDatabase _ => env
+      | DCookie (x, n, c, s) =>
+        let
+            val t = (CApp ((CFfi ("Basis", "http_cookie"), loc), c), loc)
+        in
+            pushENamed env x n t NONE s
+        end
 
 fun patBinds env (p, loc) =
     case p of