packages feed

phladiprelio-general-simple 0.9.0.1 → 0.10.0.0

raw patch · 4 files changed

+27/−8 lines, 4 filesdep +phladiprelio-general-datatypedep ~rhythmic-sequencesPVP ok

version bump matches the API change (PVP)

Dependencies added: phladiprelio-general-datatype

Dependency ranges changed: rhythmic-sequences

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -116,3 +116,9 @@  * Ninth version revised A. Fixed issue with the inaccurate description in the calab file. +## 0.10.0.0 -- 2023-10-01++* Tenth version. Added the possibility to use the "music" mode that is intended for better lyrics+  and music composing. Fixed issue with +x command line arguments.+Updated dependencies. Some documentation improvements.+
Phladiprelio/General/Simple.hs view
@@ -18,7 +18,7 @@ import Data.List hiding (foldr) import Data.Maybe (fromMaybe, mapMaybe, catMaybes,isNothing,fromJust)  import Data.Tuple (fst,snd)-import Data.Char (isDigit)+import Data.Char (isDigit,isAlpha) import CLI.Arguments import CLI.Arguments.Get import CLI.Arguments.Parsing@@ -34,6 +34,7 @@ import Data.ReversedScientific import Control.Concurrent.Async (mapConcurrently) import Phladiprelio.Tests+import Phladiprelio.General.Datatype (readBasic3, readBasic4, readBasic1G)  generalF   :: (String, String)  -- ^ If the next element is not equal to -1, then the prepending and appending lines to be displayed. Used basically for working with the multiline textual input data.@@ -63,7 +64,7 @@  | otherwise = do    let syllN = countSyll wrs arr us vs initstr --       universalSet = map unwords . permutations $ rss-       f grps mxms = sum . countHashes2G hashStep hc grps mxms . mconcat . h . createSyllablesPL wrs ks arr gs us vs+       f grps mxms = sum . countHashes2G hashStep hc grps mxms . readBasic3 (h .  createSyllablesPL wrs ks arr gs us vs) (mconcat)    hSetNewlineMode stdout universalNewlineMode    if numTest >= 0 && numTest <= 179 && numTest /= 1 then do       putStrLn "Feet   Val  Stat   Proxim" @@ -97,8 +98,8 @@                                                  sylls = createSyllablesPL wrs ks arr gs us vs textP                                              if code >= 10 && code <= 19 && grps == 2                                                  then do-                                                     let structData =  h . createSyllablesPL wrs ks arr gs us vs $ textP-                                                         (breaks,rs) = showZerosFor2Period structData syllN (\(SylS c _) -> [c]) sylls+                                                     let qqs = readBasic4 (h . createSyllablesPL wrs ks arr gs us vs) (mconcat) (mconcat . createSyllablesPL wrs ks arr gs us vs) (map (map charS)) . readBasic1G $ textP+                                                         (breaks,rs) = showZerosFor2PeriodMusic qqs                                                      putStrLn textP                                                      putStrLn breaks                                                      putStrLn . show $ rs@@ -203,7 +204,7 @@         | null filedata = ("",-1)         | length filedata == 2 = (head filedata, fromMaybe 0 (readMaybe (last filedata)::Maybe Int))         | otherwise = (head filedata,0)-      ll = take (if any (== "+x") arg3s then 9 else 7) . (if prepare then id else words . mconcat . prepareText ysss zsss xs . unwords) $ arg3s+      ll = let maxWordsNum = (if any (== "+x") arg3s then 9 else 7) in take maxWordsNum . (if prepare then id else words . mconcat . prepareTextN maxWordsNum ysss zsss xs . unwords) $ arg3s       l = length ll       argCs = catMaybes (fmap (readMaybeECG l) . getC "+a" $ argsC)       argCBs = unwords . getC "+b" $ argsC -- If you use the parenthese with +b ... -b then consider also using the quotation marks for the whole algebraic constraint. At the moment though it is still not working properly for parentheses functionality. The issue should be fixed in the further releases.
README.md view
@@ -87,7 +87,19 @@ The versions 0.9.0.0 and 0.9.0.1 are devoted to Nathalie Kok, the mother of the founder of the Foundation and the member of the foundation board, who has Birthday on the 22/09/2023. -If you would like to share some financial support, please, contact the foundation+Three videos with examples of the usage of the new music mode for the parallel project for Ukrainian+language are by the following link:+https://www.facebook.com/Oleksandr.S.Zhabenko/posts/pfbid02Vtcxuo5d73ZqsmgbxoRxLJoxLLmfpZ5B4VB9g7AQzuVTnydLHVtGRD48Q8RWLy2dl++On the 01/10/2023 there are World Music Day and André's Rieu Birthday. So the version 0.10.0.0 is+additionally devoted to him as well as to the Kok family — Emma and Enzo are amazing and fantastic musicians, Vico+works with PhilZuid, Sophie sings in the classical manner. Nathalie Kok with love to her family and +appreciation for André's Rieu support also celebrates the Day. In Ukraine this day has several important +celebrations — Intercession of the Holy Theotokos (Pokrova), Cossacks' Day, Day of Defenders of Ukraine (especially relevant during the Russian war against Ukraine).++All support is welcome, including donations for the needs of the Ukrainian army, IDPs and refugees.++If you would like to share some financial support, please, contact the mentioned foundation using the URL:  [Contact Foundation GASTROSTARS](https://gastrostars.nl/hou-mij-op-de-hoogte)
phladiprelio-general-simple.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               phladiprelio-general-simple-version:            0.9.0.1+version:            0.10.0.0  -- A short (one-line) description of the package. synopsis:           A generalized functionality of PhLADiPreLiO for different languages that uses hash algorithms.@@ -28,7 +28,7 @@      -- LANGUAGE extensions used by modules in this package.     other-extensions: NoImplicitPrelude, BangPatterns-    build-depends:    base >=4.13 && <5, rhythmic-sequences ==0.4.0.0, phonetic-languages-phonetics-basics ==0.10.1.0, phladiprelio-general-shared ==0.1.1.0, cli-arguments ==0.7.0.0, phonetic-languages-permutations-array ==0.4.0.0, phonetic-languages-constraints-array ==0.7.3.0, phonetic-languages-simplified-base ==0.7.1.0, halfsplit ==0.3.0.0, directory >=1.3.4.0 && <2, rev-scientific ==0.2.1.0, async >=2.2.2 && <3, phladiprelio-tests ==0.1.0.0+    build-depends:    base >=4.13 && <5, rhythmic-sequences ==0.4.1.0, phonetic-languages-phonetics-basics ==0.10.1.0, phladiprelio-general-shared ==0.1.1.0, cli-arguments ==0.7.0.0, phonetic-languages-permutations-array ==0.4.0.0, phonetic-languages-constraints-array ==0.7.3.0, phonetic-languages-simplified-base ==0.7.1.0, halfsplit ==0.3.0.0, directory >=1.3.4.0 && <2, rev-scientific ==0.2.1.0, async >=2.2.2 && <3, phladiprelio-tests ==0.1.0.0, phladiprelio-general-datatype ==0.3.1.0     hs-source-dirs:   .     default-language: Haskell2010