diff src/elab_print.sml @ 211:e86411f647c6

Initial type class support
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 14:32:18 -0400
parents cc68da3801bc
children 0343557355fc
line wrap: on
line diff
--- a/src/elab_print.sml	Sat Aug 16 12:35:46 2008 -0400
+++ b/src/elab_print.sml	Sat Aug 16 14:32:18 2008 -0400
@@ -464,6 +464,16 @@
                                       string ":",
                                       space,
                                       p_con env c]
+      | SgiClassAbs (x, n) => box [string "class",
+                                   space,
+                                   p_named x n]
+      | SgiClass (x, n, c) => box [string "class",
+                                   space,
+                                   p_named x n,
+                                   space,
+                                   string "=",
+                                   space,
+                                   p_con env c]
 
 and p_sgn env (sgn, _) =
     case sgn of