summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandrZhabenko <>2020-10-17 21:55:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2020-10-17 21:55:00 (GMT)
commit90d2707b16036565d9949ff6c02cacec58be4212 (patch)
tree9a187887e56b6d2b750bf3d8a7bd6e90ec569691
parent55d40946379ba74ccdaa34eff043aa4c276c18b5 (diff)
version 0.13.1.0HEAD0.13.1.0master
-rw-r--r--ChangeLog.md4
-rw-r--r--Distribution/Main.hs2
-rw-r--r--GetInfo/Main.hs2
-rw-r--r--uniqueness-periods-vector-examples.cabal2
4 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index c3f1acd..489b470 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -152,3 +152,7 @@ the output of the first one). For example, on Linux shell :
will produce the similar behaviour to the single passing of the processText in the previous versions. This was made to improve performance of the functionality provided
earlier by the processText executable.
+## 0.13.1.0 -- 2020-10-17
+
+* Thirteenth version revised A. Fixed issue with being ambiguous function mconcat for the distributionText executable code. Fixed issue with wrong numeration of the
+command line arguments in the propertiesText executable code.
diff --git a/Distribution/Main.hs b/Distribution/Main.hs
index 750b40b..b54c881 100644
--- a/Distribution/Main.hs
+++ b/Distribution/Main.hs
@@ -40,7 +40,7 @@ import Numeric (showFFloat)
import Data.List (sort)
import Numeric.Stats
import qualified Data.ByteString.Char8 as B
-import Data.Lists.FLines
+import Data.Lists.FLines hiding (mconcat)
import Data.Statistics.RulesIntervals
#ifdef __GLASGOW_HASKELL__
#if __GLASGOW_HASKELL__==708
diff --git a/GetInfo/Main.hs b/GetInfo/Main.hs
index a8831e0..7e994a8 100644
--- a/GetInfo/Main.hs
+++ b/GetInfo/Main.hs
@@ -69,10 +69,10 @@ main :: IO ()
main = do
args <- getArgs
let !file = concat . take 1 $ args -- The first command line arguments except those ones that are RTS arguments
+ !gzS = concat . take 1 . drop 1 $ args -- The second command line argument that controls the choice of the number of intervals
!printLine = fromMaybe 0 (readMaybe (concat . take 1 . drop 2 $ args)::(Maybe Int)) -- The third command line argument except those ones that are RTS arguments. Set to 1 if you would like to print the current line within the information
!toOneLine = fromMaybe 0 (readMaybe (concat . take 1 . drop 3 $ args)::(Maybe Int)) -- The fourth command line argument except those ones that are RTS arguments. Set to 1 if you would like to convert the text into one single line before applying to it the processment (it can be more conceptually consistent in such a case)
!compareMode = fromMaybe 0 (readMaybe (concat . take 1 . drop 4 $ args)::(Maybe Int)) -- The fifth command line argument except those ones that are RTS arguments. Set to 1 if you would like to print the original version and the concatenated one's (into one line) analyses.
- !gzS = concat . take 1 . drop 1 $ args
!twoInParallel = fromMaybe 1 (readMaybe (concat . take 1 . drop 5 $ args)::(Maybe Int)) -- The sixth command line argument that controls whether if the fifth command line argument is set to \"1\" then the evaluation is done in parallel or not (set to \"1\" --- the default one --- if you would like to evaluate in parallel, otherwise --- just usual sequential evaluation).
!choice = concat . drop 6 . take 7 $ args -- The seventh command line argument that controls what properties are used.
contents <- readFile file
diff --git a/uniqueness-periods-vector-examples.cabal b/uniqueness-periods-vector-examples.cabal
index 76445c2..c25da44 100644
--- a/uniqueness-periods-vector-examples.cabal
+++ b/uniqueness-periods-vector-examples.cabal
@@ -3,7 +3,7 @@
-- http://haskell.org/cabal/users-guide/
name: uniqueness-periods-vector-examples
-version: 0.13.0.0
+version: 0.13.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