diff options
Diffstat (limited to 'src/source_print.sml')
-rw-r--r-- | src/source_print.sml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/source_print.sml b/src/source_print.sml index 208aa23a..49adadc3 100644 --- a/src/source_print.sml +++ b/src/source_print.sml @@ -238,6 +238,13 @@ fun p_sgn_item (sgi, _) = string ":", space, p_sgn sgn] + | SgiSgn (x, sgn) => box [string "signature", + space, + string x, + space, + string "=", + space, + p_sgn sgn] | SgiInclude sgn => box [string "include", space, p_sgn sgn] @@ -273,6 +280,8 @@ and p_sgn (sgn, _) = string "=", space, p_con c] + | SgnProj (m, ms, x) => p_list_sep (string ".") string (m :: ms @ [x]) + fun p_decl ((d, _) : decl) = case d of |