Mercurial > urweb
diff src/tag.sml @ 163:80192edca30d
Datatypes through corify
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 29 Jul 2008 13:16:21 -0400 |
parents | f0d3402184d1 |
children | 3bbed533fbd2 |
line wrap: on
line diff
--- a/src/tag.sml Tue Jul 29 12:30:04 2008 -0400 +++ b/src/tag.sml Tue Jul 29 13:16:21 2008 -0400 @@ -153,6 +153,7 @@ val count = foldl (fn ((d, _), count) => case d of DCon (_, n, _, _) => Int.max (n, count) + | DDatatype (_, n, _) => Int.max (n, count) | DVal (_, n, _, _, _) => Int.max (n, count) | DValRec vis => foldl (fn ((_, n, _, _, _), count) => Int.max (n, count)) count vis | DExport _ => count) 0 file