split 0.2.5 → 0.2.5.1
raw patch · 3 files changed
+20/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES +4/−0
- split.cabal +15/−2
- src/Data/List/Split/Internals.hs +1/−1
CHANGES view
@@ -1,3 +1,7 @@+* 0.2.5.1 (28 August 2026)++ - Fix typo in documentation of `linesBy`+ * 0.2.5 (9 January 2024) - Test with GHC 9.8.
split.cabal view
@@ -1,5 +1,5 @@ Name: split-Version: 0.2.5+Version: 0.2.5.1 Stability: stable Description: A collection of various methods for splitting@@ -35,7 +35,20 @@ Category: List Build-type: Simple Cabal-Version: >= 1.10-Tested-with: GHC ==9.8.1 || ==9.6.3 || ==9.4.8 || ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2 || ==7.2.2 || ==7.0.4+Tested-with:+ GHC == 9.12.2+ GHC == 9.10.2+ GHC == 9.8.4+ GHC == 9.6.7+ GHC == 9.4.8+ GHC == 9.2.8+ GHC == 9.0.2+ GHC == 8.10.7+ GHC == 8.8.4+ GHC == 8.6.5+ GHC == 8.4.4+ GHC == 8.2.2+ GHC == 8.0.2 Bug-reports: https://github.com/byorgey/split/issues
src/Data/List/Split/Internals.hs view
@@ -545,7 +545,7 @@ wordsBy = split . dropBlanks . dropDelims . whenElt -- | Split into \"lines\", with line boundaries indicated by the given--- predicate. Satisfies @'lines' === linesBy (=='\n')@; equivalent to+-- predicate. Satisfies @'lines' === linesBy (=='\\n')@; equivalent to -- @'split' . 'dropFinalBlank' . 'dropDelims' . 'whenElt'@. -- -- >>> linesBy (==';') "foo;bar;;baz;"