packages feed

uniqueness-periods-vector-examples (empty) → 0.1.0.0

raw patch · 5 files changed

+84/−0 lines, 5 filesdep +basedep +mmsyn6ukrdep +phonetic-languages-ukrainiansetup-changed

Dependencies added: base, mmsyn6ukr, phonetic-languages-ukrainian, print-info, uniqueness-periods-vector, uniqueness-periods-vector-common, uniqueness-periods-vector-general, uniqueness-periods-vector-properties, vector

Files

+ ChangeLog.md view
@@ -0,0 +1,5 @@+# Revision history for uniqueness-periods-vector-examples++## 0.1.0.0 -- 2020-09-09++* First version. Released on an unsuspecting world.
+ LICENSE view
@@ -0,0 +1,20 @@+Copyright (c) 2020 OleksandrZhabenko++Permission is hereby granted, free of charge, to any person obtaining+a copy of this software and associated documentation files (the+"Software"), to deal in the Software without restriction, including+without limitation the rights to use, copy, modify, merge, publish,+distribute, sublicense, and/or sell copies of the Software, and to+permit persons to whom the Software is furnished to do so, subject to+the following conditions:++The above copyright notice and this permission notice shall be included+in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ Simple/Main.hs view
@@ -0,0 +1,31 @@+-- |+-- Module      :  Main+-- Copyright   :  (c) OleksandrZhabenko 2020+-- License     :  MIT+-- Stability   :  Experimental+-- Maintainer  :  olexandr543@yahoo.com+--+-- Prints the rearrangements with the \"property\" information for the Ukrainian language text. The first command line argument must be a +-- positive 'Int' number. The rest is the Ukrainian text. The most interesting is the first line of the output. But other ones also are noteworthy. ++module Main where++import qualified Data.Vector as V+import Data.Print.Info+import String.Languages.UniquenessPeriods.Vector+import Languages.UniquenessPeriods.Vector.General.Debug+import Languages.UniquenessPeriods.Vector.Properties+import Melodics.Ukrainian+import System.Environment+import Languages.Phonetic.Ukrainian.PrepareText+import Languages.UniquenessPeriods.Vector.Data++-- | Prints the rearrangements with the \"property\" information for the Ukrainian language text. The first command line argument must be a +-- positive 'Int' number. The rest is the Ukrainian text. The most interesting is the first line of the output. But other ones also are noteworthy. +main :: IO ()+main = do+  args <- getArgs+  let arg0 = read (concat . take 1 $ args)::Int +      xs = unwords . drop 1 $ args+  uniqNPoetical2GN " 01-" K arg0 1 (I1 H) (V.singleton (oneProperty)) (uniquenessPeriodsVector3 " 01-" . aux0 . convertToProperUkrainian) +    (justOneValue2Property . diverse2) . unwords . prepareText $ xs
+ uniqueness-periods-vector-examples.cabal view
@@ -0,0 +1,26 @@+-- Initial uniqueness-periods-vector-examples.cabal generated by cabal+-- init.  For further documentation, see+-- http://haskell.org/cabal/users-guide/++name:                uniqueness-periods-vector-examples+version:             0.1.0.0+synopsis:            Examples of usage for the uniqueness-periods-vector series of packages+description:         Examples of usage 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+license:             MIT+license-file:        LICENSE+author:              OleksandrZhabenko+maintainer:          olexandr543@yahoo.com+copyright:           Oleksandr Zhabenko+category:            Language, Math, Game+build-type:          Simple+extra-source-files:  ChangeLog.md+cabal-version:       >=1.10++executable uniqVec01+  main-is:             Main.hs+  -- other-modules:+  -- other-extensions:+  build-depends:       base >=4.7 && <4.15, mmsyn6ukr >=0.8 && <1, vector >=0.11 && <0.14, uniqueness-periods-vector >=0.3 && <1, uniqueness-periods-vector-general >=0.2.3 && < 1, uniqueness-periods-vector-common >=0.2 && <1, uniqueness-periods-vector-properties >=0.3.1 && <1, print-info >=0.1.3 && <1, phonetic-languages-ukrainian >=0.2 && <1+  hs-source-dirs:      Simple+  default-language:    Haskell2010