Mercurial > urweb
comparison src/mono_env.sml @ 1073:b2311dfb3158
Initializers and setval
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 13 Dec 2009 14:20:41 -0500 |
parents | d8f58d488cfb |
children | 0657e5adc938 |
comparison
equal
deleted
inserted
replaced
1072:9001966ae1c8 | 1073:b2311dfb3158 |
---|---|
127 | DView _ => env | 127 | DView _ => env |
128 | DDatabase _ => env | 128 | DDatabase _ => env |
129 | DJavaScript _ => env | 129 | DJavaScript _ => env |
130 | DCookie _ => env | 130 | DCookie _ => env |
131 | DStyle _ => env | 131 | DStyle _ => env |
132 | DInitializer _ => env | |
132 | 133 |
133 fun patBinds env (p, loc) = | 134 fun patBinds env (p, loc) = |
134 case p of | 135 case p of |
135 PWild => env | 136 PWild => env |
136 | PVar (x, t) => pushERel env x t NONE | 137 | PVar (x, t) => pushERel env x t NONE |