pretty: wrap app argument around parens

This commit is contained in:
Luca Bruno 2014-07-07 18:23:16 +02:00
parent 5849e17529
commit ea6cdf330d
1 changed files with 1 additions and 1 deletions

View File

@ -65,6 +65,6 @@ prettyNix (Fix expr) = go expr where
go (NInherit attrs) = text "inherit"
go (NVar e) = prettyNix e
go (NApp fun arg) = prettyNix fun <+> prettyNix arg
go (NApp fun arg) = prettyNix fun <+> parens (prettyNix arg)
go (NAbs args body) = (prettyNix args <> colon) $$ prettyNix body