Mercurial > urweb
diff src/core_env.sml @ 247:5c50b17f5e4a
Corify tables
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 31 Aug 2008 09:00:28 -0400 |
parents | 8a70e2919e86 |
children | 42dfb0d61cf0 |
line wrap: on
line diff
--- a/src/core_env.sml Sun Aug 31 08:46:22 2008 -0400 +++ b/src/core_env.sml Sun Aug 31 09:00:28 2008 -0400 @@ -187,6 +187,12 @@ | 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) => + let + val t = (CApp ((CFfi ("Basis", "table"), loc), c), loc) + in + pushENamed env x n t NONE s + end fun patBinds env (p, loc) = case p of