diff src/core_env.sml @ 707:d8217b4cb617

PRIMARY KEY
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 16:14:31 -0400
parents e6706a1df013
children f152f215a02c
line wrap: on
line diff
--- a/src/core_env.sml	Tue Apr 07 15:04:07 2009 -0400
+++ b/src/core_env.sml	Tue Apr 07 16:14:31 2009 -0400
@@ -313,11 +313,11 @@
       | DVal (x, n, t, e, s) => pushENamed env x n t (SOME e) s
       | DValRec vis => foldl (fn ((x, n, t, e, s), env) => pushENamed env x n t NONE s) env vis
       | DExport _ => env
-      | DTable (x, n, c, s, _, cc) =>
+      | DTable (x, n, c, s, _, pc, _, cc) =>
         let
             val ct = (CFfi ("Basis", "sql_table"), loc)
             val ct = (CApp (ct, c), loc)
-            val ct = (CApp (ct, cc), loc)
+            val ct = (CApp (ct, (CConcat (pc, cc), loc)), loc)
         in
             pushENamed env x n ct NONE s
         end