Skip to content

Commit d29b0ee

Browse files
committed
[ ux ] Don't export name prf, as it's widely used and warned about
1 parent df6049e commit d29b0ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Text/PrettyPrint/Bernardy/Combinators.idr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export
238238
sep' : {opts : _} -> List (Doc opts) -> Doc opts
239239
sep' xs = ifMultiline (hsep xs) (vsep xs)
240240

241-
||| Add the given document only when conditions is true
241+
||| Add the given document only when condition is true
242242
export
243243
when : Bool -> Doc opts -> Doc opts
244244
when True = id

src/Text/PrettyPrint/Bernardy/Core.idr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ record Layout where
9494
-- natural and efficient accumulator in a left fold.
9595
content : Lazy (SnocList String)
9696
stats : Stats
97-
{auto 0 prf : NonEmptySnoc content}
97+
{auto 0 prfNonEmptyContent : NonEmptySnoc content}
9898

9999
layout : Lazy (Subset (SnocList String) NonEmptySnoc) -> Stats -> Layout
100100
layout ss st = MkLayout (fst ss) st @{snd ss}

0 commit comments

Comments
 (0)