File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Text/PrettyPrint/Bernardy Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ export
238
238
sep' : {opts : _} -> List (Doc opts) -> Doc opts
239
239
sep' xs = ifMultiline (hsep xs) (vsep xs)
240
240
241
- ||| Add the given document only when conditions is true
241
+ ||| Add the given document only when condition is true
242
242
export
243
243
when : Bool -> Doc opts -> Doc opts
244
244
when True = id
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ record Layout where
94
94
-- natural and efficient accumulator in a left fold.
95
95
content : Lazy (SnocList String)
96
96
stats : Stats
97
- {auto 0 prf : NonEmptySnoc content}
97
+ {auto 0 prfNonEmptyContent : NonEmptySnoc content}
98
98
99
99
layout : Lazy (Subset (SnocList String) NonEmptySnoc) -> Stats -> Layout
100
100
layout ss st = MkLayout (fst ss) st @{snd ss}
You can’t perform that action at this time.
0 commit comments