diff options
author | Adam Chlipala <adam@chlipala.net> | 2017-08-11 19:38:43 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2017-08-11 19:38:43 -0400 |
commit | 4b7939d2fef1d8ef02ff761ade62cc220ab248cf (patch) | |
tree | e9a3811f6a763bd81522fff4a8d3c4631c4a34e7 /src/source_print.sml | |
parent | 9fdb50d8ecc7782ae73472b9d943a24a304d0191 (diff) | |
parent | f814fd699dc707e810c996062370ee787863d926 (diff) |
Merge branch 'master' of ssh://hnf.impredicative.com:/home/adamc/git-root/urweb
Diffstat (limited to 'src/source_print.sml')
-rw-r--r-- | src/source_print.sml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/source_print.sml b/src/source_print.sml index 7b657422..e18a82f9 100644 --- a/src/source_print.sml +++ b/src/source_print.sml @@ -560,9 +560,13 @@ fun p_decl ((d, _) : decl) = string "datatype", space, p_list_sep (string ".") string (ms @ [x'])] - | DVal vi => box [string "val", - space, - p_vali vi] + | DVal (p, e) => box [string "val", + space, + p_pat p, + space, + string "=", + space, + p_exp e] | DValRec vis => box [string "val", space, string "rec", |