uniqueness-periods-vector-general 0.4.0.0 → 0.4.1.0
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- Languages/UniquenessPeriods/Vector/General/Debug.hs +2/−2
- uniqueness-periods-vector-general.cabal +1/−1
ChangeLog.md view
@@ -39,3 +39,8 @@ * Fourth version. Changed dependency boundaries. Library is rewritten to avoid the redundant complexity of the algorithm realization, to make the functions basically pure, to fix the issue with printing subsystem in case of the file output. Changes break the previous behaviour, so please, check the code. ++## 0.4.1.0 -- 2020-09-12++* Fourth version revised A. Changed the order of the elements in the list in the Languages.UniquenessPeriods.Vector.General.Debug.maximumElByVec function so that +being afterwards applied naturally Languages.UniquenessPeriods.Vector.General.Debug.printUniquenessG1List prints elements starting from the maximum one.
Languages/UniquenessPeriods/Vector/General/Debug.hs view
@@ -185,7 +185,7 @@ -> V.Vector ([b] -> b) -- ^ 'V.Vector' of the represented as functions \"properties\" to be applied consequently. -> UniqG2 a b -- ^ The data to be analyzed. -> UniqG2 a b-maximumElByVec k vN x = let uniq = maximumElBy k vN x in let fsT = firstFrom3 uniq in UL2 ((\(v1,v2) -> ((V.toList v1) ++ (fst . get22 $ x),v2)) . +maximumElByVec k vN x = let uniq = maximumElBy k vN x in let fsT = firstFrom3 uniq in UL2 ((\(v1,v2) -> ((fst . get22 $ x) ++ V.toList v1,v2)) . V.unstablePartition ((== fsT) . firstFrom3) . snd . get22 $ x) {-# INLINE maximumElByVec #-} @@ -221,7 +221,7 @@ -------------------------------------------------------------------------------------------- --- | The full analyzing and processment function. A pair with 'uniqNProperties2VGN', returns another data type as its result.+-- | The full analyzing and processment function. uniqNProperties2GN :: (Eq a, Ord b, Show a, Show b) => [a] -- ^ A list of \"whitespace symbols\" that delimits the sublists in the list to be processed. -> Preapp a -- ^ A parameter to specify the lists to be prepended and postpended to the given data to be processed before actual processment.
uniqueness-periods-vector-general.cabal view
@@ -2,7 +2,7 @@ -- For further documentation, see http://haskell.org/cabal/users-guide/ name: uniqueness-periods-vector-general-version: 0.4.0.0+version: 0.4.1.0 synopsis: Generalization of the functionality of the dobutokO-poetry-general-languages package description: Generalization of the functionality of the dobutokO-poetry-general-languages package homepage: https://hackage.haskell.org/package/uniqueness-periods-vector-general