comparison src/mono_env.sml @ 288:4260ad920c36

Converting string to int
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 11:33:13 -0400
parents 09c66a30ef32
children e976b187d73a
comparison
equal deleted inserted replaced
287:3ed7a7c7b060 288:4260ad920c36
116 | PVar (x, t) => pushERel env x t NONE 116 | PVar (x, t) => pushERel env x t NONE
117 | PPrim _ => env 117 | PPrim _ => env
118 | PCon (_, _, NONE) => env 118 | PCon (_, _, NONE) => env
119 | PCon (_, _, SOME p) => patBinds env p 119 | PCon (_, _, SOME p) => patBinds env p
120 | PRecord xps => foldl (fn ((_, p, _), env) => patBinds env p) env xps 120 | PRecord xps => foldl (fn ((_, p, _), env) => patBinds env p) env xps
121 | PNone _ => env
122 | PSome (_, p) => patBinds env p
121 123
122 end 124 end