Skip to content

Commit

Permalink
improve pretty printing of top-level bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mesabloo committed Jun 20, 2022
1 parent 33d9b13 commit 35fe998
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/gzc-pretty/src/Language/Zilch/Pretty/TAST.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ instance Pretty (Located Definition) where
(if isRec then "rec" else "let")
<> space
<> pretty (unLoc name)
<> space
<> ":"
<> space
<> pretty typ
<> line
<> indent
2
( ":"
<> space
<> pretty typ
<> line
<> ""
( ""
<> line
<> line
<> pretty val
Expand Down

0 comments on commit 35fe998

Please sign in to comment.