Skip to content

Commit

Permalink
🧩 [layout]
Browse files Browse the repository at this point in the history
  • Loading branch information
rolyp committed Sep 19, 2023
1 parent 2974db6 commit 2d56c7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Pretty.purs
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ instance Ann a => Pretty (Expr a) where
pretty (Dictionary ann sss) = (highlightIf ann $ dictBrackets (pretty sss))
pretty (Matrix ann e (x × y) e') =
highlightIf ann $ arrayBrackets
( pretty e .<>. text str.bar .<>. parentheses (text x .<>. text str.comma .<>. text y)
.<>. text str.in_
.<>. pretty e'
)
( pretty e .<>. text str.bar .<>. parentheses (text x .<>. text str.comma .<>. text y)
.<>. text str.in_
.<>. pretty e'
)
pretty (Lambda cs) = parentheses (text str.fun .<>. pretty cs)
pretty (Project s x) = pretty s .<>. text str.dot .<>. text x
pretty (App s s') = prettyAppChain (App s s')
Expand Down

0 comments on commit 2d56c7c

Please sign in to comment.