diff src/elab.sml @ 173:8221b95cc24c

Patterns for int and string constants
author Adam Chlipala <adamc@hcoop.net>
date Thu, 31 Jul 2008 10:44:52 -0400
parents c7a6e6dbc318
children b2d752455182
line wrap: on
line diff
--- a/src/elab.sml	Thu Jul 31 10:31:30 2008 -0400
+++ b/src/elab.sml	Thu Jul 31 10:44:52 2008 -0400
@@ -78,6 +78,7 @@
 datatype pat' =
          PWild
        | PVar of string
+       | PPrim of Prim.t
        | PCon of patCon * pat option
 
 withtype pat = pat' located