diff options
Diffstat (limited to 'src/source_print.sml')
-rw-r--r-- | src/source_print.sml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/source_print.sml b/src/source_print.sml index fb416a60..c3a333e8 100644 --- a/src/source_print.sml +++ b/src/source_print.sml @@ -259,7 +259,18 @@ and p_sgn (sgn, _) = string ":", space, p_sgn sgn'] - + | SgnWhere (sgn, x, c) => box [p_sgn sgn, + space, + string "where", + space, + string "con", + space, + string x, + space, + string "=", + space, + p_con c] + fun p_decl ((d, _) : decl) = case d of DCon (x, NONE, c) => box [string "con", |