comparison src/core_env.sml @ 1073:b2311dfb3158

Initializers and setval
author Adam Chlipala <adamc@hcoop.net>
date Sun, 13 Dec 2009 14:20:41 -0500
parents 61a1f5c5ae2c
children 0657e5adc938
comparison
equal deleted inserted replaced
1072:9001966ae1c8 1073:b2311dfb3158
346 let 346 let
347 val t = (CFfi ("Basis", "css_class"), loc) 347 val t = (CFfi ("Basis", "css_class"), loc)
348 in 348 in
349 pushENamed env x n t NONE s 349 pushENamed env x n t NONE s
350 end 350 end
351 | DInitializer _ => env
351 352
352 fun patBinds env (p, loc) = 353 fun patBinds env (p, loc) =
353 case p of 354 case p of
354 PWild => env 355 PWild => env
355 | PVar (x, t) => pushERel env x t 356 | PVar (x, t) => pushERel env x t