packages feed

pipes-text 0.0.0.5 → 0.0.0.6

raw patch · 2 files changed

+6/−8 lines, 2 filesdep ~text

Dependency ranges changed: text

Files

Pipes/Text.hs view
@@ -1,7 +1,5 @@-{-# LANGUAGE RankNTypes, TypeFamilies, BangPatterns, CPP #-}-#if __GLASGOW_HASKELL__ >= 702-{-# LANGUAGE Trustworthy #-}-#endif+{-# LANGUAGE RankNTypes, TypeFamilies, BangPatterns, Trustworthy #-}+ {-| This module provides @pipes@ utilities for \"text streams\", which are     streams of 'Text' chunks. The individual chunks are uniformly @strict@, but      a 'Producer' can be converted to and from lazy 'Text's, though this is generally @@ -29,11 +27,11 @@ > main = runSafeT $ runEffect $ Text.readFile "inFile.txt" >-> Text.writeFile "outFile.txt"      You can stream to and from 'stdin' and 'stdout' using the predefined 'stdin'-    and 'stdout' proxies, as with the following \"echo\" program:+    and 'stdout' pipes, as with the following \"echo\" program:  > main = runEffect $ Text.stdin >-> Text.stdout -    You can also translate pure lazy 'TL.Text's to and from proxies:+    You can also translate pure lazy 'TL.Text's to and from pipes:  > main = runEffect $ Text.fromLazy (TL.pack "Hello, world!\n") >-> Text.stdout 
pipes-text.cabal view
@@ -1,5 +1,5 @@ name:                pipes-text-version:             0.0.0.5+version:             0.0.0.6 synopsis:            Text pipes. description:         Many of the pipes and other operations defined here mirror those in                      the `pipes-bytestring` library. Folds like `length` and grouping @@ -45,7 +45,7 @@   other-extensions:    RankNTypes   build-depends:       base         >= 4       && < 5  ,                        bytestring >=0.10       && < 0.11,-                       text >=0.11             && < 1.2,+                       text >=0.11.3           && < 1.2,                        profunctors  >= 3.1.1   && < 4.1 ,                        pipes >=4.0             && < 4.2,                        pipes-group  >= 1.0.0   && < 1.1 ,