Skip to content

Commit 0f3acc6

Browse files
committed
Bump to rio-prettyprint-0.1.4.0
1 parent 71a85a4 commit 0f3acc6

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ dependencies:
112112
- random
113113
- retry
114114
- rio >= 0.1.22.0
115-
- rio-prettyprint >= 0.1.3.0
115+
- rio-prettyprint >= 0.1.4.0
116116
- semigroups
117117
- split
118118
- stm

src/Stack/Prelude.hs

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Stack.Prelude
2828
, bugPrettyReport
2929
, blankLine
3030
, module X
31-
-- * Re-exports from the rio-pretty print package, and 'string'
31+
-- * Re-exports from the rio-pretty print package
3232
, HasStylesUpdate (..)
3333
, HasTerm (..)
3434
, Pretty (..)
@@ -50,6 +50,7 @@ module Stack.Prelude
5050
, indent
5151
, line
5252
, logLevelToStyle
53+
, mkNarrativeList
5354
, parens
5455
, parseStylesUpdateFromString
5556
, prettyDebugL
@@ -89,11 +90,11 @@ import RIO.PrettyPrint
8990
( HasStylesUpdate (..), HasTerm (..), Pretty (..), Style (..)
9091
, StyleDoc, (<+>), align, bulletedList, debugBracket
9192
, encloseSep, fillSep, flow, hang, hcat, indent, line
92-
, logLevelToStyle, parens, prettyDebugL, prettyError
93-
, prettyErrorL, prettyInfo, prettyInfoL, prettyInfoS
94-
, prettyNote, prettyWarn, prettyWarnL, prettyWarnS, punctuate
95-
, sep, softbreak, softline, style, stylesUpdateL, useColorL
96-
, vsep
93+
, logLevelToStyle, mkNarrativeList, parens, prettyDebugL
94+
, prettyError, prettyErrorL, prettyInfo, prettyInfoL
95+
, prettyInfoS, prettyNote, prettyWarn, prettyWarnL
96+
, prettyWarnS, punctuate, sep, softbreak, softline, string
97+
, style, stylesUpdateL, useColorL, vsep
9798
)
9899
import RIO.PrettyPrint.DefaultStyles (defaultStyles)
99100
import RIO.PrettyPrint.PrettyException ( PrettyException (..) )
@@ -292,14 +293,6 @@ writeBinaryFileAtomic fp builder =
292293
liftIO $
293294
withBinaryFileAtomic (toFilePath fp) WriteMode (`hPutBuilder` builder)
294295

295-
-- | @string@ is not exported by module "Text.PrettyPrint.Leijen.Extended" of
296-
-- the @rio-prettyprint@ package.
297-
string :: String -> StyleDoc
298-
string "" = mempty
299-
string ('\n':s) = line <> string s
300-
string s = let (xs, ys) = span (/='\n') s
301-
in fromString xs <> string ys
302-
303296
-- | Report a bug in Stack.
304297
bugReport :: String -> String -> String
305298
bugReport code msg =

stack.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ library
291291
, random
292292
, retry
293293
, rio >=0.1.22.0
294-
, rio-prettyprint >=0.1.3.0
294+
, rio-prettyprint >=0.1.4.0
295295
, semigroups
296296
, split
297297
, stm
@@ -415,7 +415,7 @@ executable stack
415415
, random
416416
, retry
417417
, rio >=0.1.22.0
418-
, rio-prettyprint >=0.1.3.0
418+
, rio-prettyprint >=0.1.4.0
419419
, semigroups
420420
, split
421421
, stack
@@ -540,7 +540,7 @@ executable stack-integration-test
540540
, random
541541
, retry
542542
, rio >=0.1.22.0
543-
, rio-prettyprint >=0.1.3.0
543+
, rio-prettyprint >=0.1.4.0
544544
, semigroups
545545
, split
546546
, stm
@@ -671,7 +671,7 @@ test-suite stack-test
671671
, raw-strings-qq
672672
, retry
673673
, rio >=0.1.22.0
674-
, rio-prettyprint >=0.1.3.0
674+
, rio-prettyprint >=0.1.4.0
675675
, semigroups
676676
, smallcheck
677677
, split

stack.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ packages:
66

77
extra-deps:
88
- pantry-0.8.0@sha256:351a9103c0b1dd78f6b8f243ca4fc6a6952d5ba00f72032b831e5ee0e61dce0f,4099
9+
- rio-prettyprint-0.1.4.0@sha256:1f8eb3ead0ef33d3736d53e1de5e9b2c91a0c207cdca23321bd74c401e85f23a,1301
910
- fsnotify-0.4.1.0@sha256:44540beabea36aeeef930aa4d5f28091d431904bc9923b6ac4d358831c651235,2854
1011

1112
drop-packages:

stack.yaml.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ packages:
1111
size: 2524
1212
original:
1313
hackage: pantry-0.8.0@sha256:351a9103c0b1dd78f6b8f243ca4fc6a6952d5ba00f72032b831e5ee0e61dce0f,4099
14+
- completed:
15+
hackage: rio-prettyprint-0.1.4.0@sha256:1f8eb3ead0ef33d3736d53e1de5e9b2c91a0c207cdca23321bd74c401e85f23a,1301
16+
pantry-tree:
17+
sha256: 05bb2585e2d93899c62e0b6e1da02d040286b4524d0d363be1c5d99e49ac95bd
18+
size: 628
19+
original:
20+
hackage: rio-prettyprint-0.1.4.0@sha256:1f8eb3ead0ef33d3736d53e1de5e9b2c91a0c207cdca23321bd74c401e85f23a,1301
1421
- completed:
1522
hackage: fsnotify-0.4.1.0@sha256:44540beabea36aeeef930aa4d5f28091d431904bc9923b6ac4d358831c651235,2854
1623
pantry-tree:

0 commit comments

Comments
 (0)