uniqueness-periods-vector-examples 0.14.0.0 → 0.14.1.0
raw patch · 4 files changed
+13/−26 lines, 4 filesdep −lists-flinesPVP ok
version bump matches the API change (PVP)
Dependencies removed: lists-flines
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- GetInfo/Main.hs +2/−20
- README.md +3/−3
- uniqueness-periods-vector-examples.cabal +3/−3
ChangeLog.md view
@@ -162,3 +162,8 @@ * Fourteenth version. Moved some modules and a code for the executable distributionText to the other package that is planned to share its functionality with less dependencies. Fixed issue with being not reavaluated in the code for the rewritePoem executable in the circle2I function that led to incorrect results. Updated the dependencies boundaries. +## 0.14.1.0 -- 2020-10-30++* Fourteenth version revised A. Fixed issue with being not compiled on the GHC-7.8* series because of (trivial) ambiguity. Some code improvements for propertiesText executable. +Some documentation improvements.+
GetInfo/Main.hs view
@@ -22,16 +22,10 @@ {-# OPTIONS_GHC -threaded -rtsopts #-} -{-# LANGUAGE CPP, BangPatterns, FlexibleInstances, MultiParamTypeClasses #-}+{-# LANGUAGE BangPatterns #-} module Main where -#ifdef __GLASGOW_HASKELL__-#if __GLASGOW_HASKELL__>=710-/* code that applies only to GHC 7.10.* and higher versions */-import GHC.Base (mconcat)-#endif-#endif import System.IO import Control.Concurrent import Control.Exception@@ -50,21 +44,9 @@ import Numeric (showFFloat) import Languages.UniquenessPeriods.Vector.Filters import Data.Char (isAlpha)-import Data.Lists.FLines import Data.Statistics.RulesIntervals import Languages.UniquenessPeriods.Vector.FuncRepRelated-#ifdef __GLASGOW_HASKELL__-#if __GLASGOW_HASKELL__==708-/* code that applies only to GHC 7.8.* */-mconcat = concat-#endif-#endif --instance GetTransL (FLines [String]) [String] where- getTL g (F1 xss) = g xss- getTL g (FL xsss) = mconcat . map g $ xsss- main :: IO () main = do args <- getArgs@@ -120,5 +102,5 @@ {-# INLINABLE getData3 #-} fLines :: Int -> String -> [String]-fLines !toOneLine = getTL (filter (any (\x -> isUkrainian x && isAlpha x))) . F1 . prepareText . (\z -> if toOneLine == 1 then unwords . words $ z else z)+fLines !toOneLine = filter (any (\x -> isUkrainian x && isAlpha x)) . prepareText . (\z -> if toOneLine == 1 then unwords . words $ z else z) {-# INLINE fLines #-}
README.md view
@@ -1,4 +1,4 @@-The real samples output files created by processText executable can be found in the archives on the following pages.+The real samples output files created by processText executable in the previous versions of the package can be found in the archives on the following pages. These files are created by the processText executable after Lynx dumping the web pages from the links on the following pages: @@ -52,8 +52,8 @@ ------------------ -To enable parallel computations (potentially, it can speed up the work) for processText executable, please run it with+To enable parallel computations (it speeds up the work, but uses more resources) for executables, please run each of them with -+RTS -threaded -RTS++RTS -N -RTS command line options.
uniqueness-periods-vector-examples.cabal view
@@ -3,7 +3,7 @@ -- http://haskell.org/cabal/users-guide/ name: uniqueness-periods-vector-examples-version: 0.14.0.0+version: 0.14.1.0 synopsis: Usage examples for the uniqueness-periods-vector series of packages description: Usage examples for the uniqueness-periods-vector series of packages. Several executables are planned to demonstrate the libraries work. homepage: https://hackage.haskell.org/package/uniqueness-periods-vector-examples@@ -46,8 +46,8 @@ executable propertiesText main-is: Main.hs other-modules: Languages.UniquenessPeriods.Vector.FuncRepRelated- other-extensions: CPP, BangPatterns, FlexibleInstances, MultiParamTypeClasses- build-depends: base >=4.7 && <4.15, mmsyn6ukr >=0.8.3 && <1, vector >=0.11 && <0.14, uniqueness-periods-vector >=0.3.1.1 && <1, uniqueness-periods-vector-general >=0.5.2 && < 1, uniqueness-periods-vector-common >=0.5.1.1 && <1, uniqueness-periods-vector-properties >=0.5.5 && <1, phonetic-languages-ukrainian >=0.2.3 && <1, uniqueness-periods-vector-filters >=0.3 && <1, uniqueness-periods-vector-stats >=0.1.2 && <1, parallel >=3.2.0.6 && <4, lists-flines >=0.1.1 && <1, phonetic-languages-plus >=0.1 && <1+ other-extensions: BangPatterns+ build-depends: base >=4.7 && <4.15, mmsyn6ukr >=0.8.3 && <1, vector >=0.11 && <0.14, uniqueness-periods-vector >=0.3.1.1 && <1, uniqueness-periods-vector-general >=0.5.2 && < 1, uniqueness-periods-vector-common >=0.5.1.1 && <1, uniqueness-periods-vector-properties >=0.5.5 && <1, phonetic-languages-ukrainian >=0.2.3 && <1, uniqueness-periods-vector-filters >=0.3 && <1, uniqueness-periods-vector-stats >=0.1.2 && <1, parallel >=3.2.0.6 && <4, phonetic-languages-plus >=0.1 && <1 ghc-options: -threaded -rtsopts hs-source-dirs: ., GetInfo default-language: Haskell2010