Mercurial > urweb
diff src/elab_print.sml @ 162:06a98129b23f
Add datatype import constructor annotations; datatypes through explify
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 29 Jul 2008 12:30:04 -0400 |
parents | 34ccd7d2bea8 |
children | c7a6e6dbc318 |
line wrap: on
line diff
--- a/src/elab_print.sml Thu Jul 24 16:51:24 2008 -0400 +++ b/src/elab_print.sml Tue Jul 29 12:30:04 2008 -0400 @@ -346,7 +346,7 @@ space, p_con env c] | SgiDatatype x => p_datatype env x - | SgiDatatypeImp (x, _, m1, ms, x') => + | SgiDatatypeImp (x, _, m1, ms, x', _) => let val m1x = #1 (E.lookupStrNamed env m1) handle E.UnboundNamed _ => "UNBOUND_STR_" ^ Int.toString m1 @@ -468,7 +468,7 @@ space, p_con env c] | DDatatype x => p_datatype env x - | DDatatypeImp (x, _, m1, ms, x') => + | DDatatypeImp (x, _, m1, ms, x', _) => let val m1x = #1 (E.lookupStrNamed env m1) handle E.UnboundNamed _ => "UNBOUND_STR_" ^ Int.toString m1