packages feed

string-interpreter 0.7.0.0 → 0.8.0.0

raw patch · 5 files changed

+31/−14 lines, 5 filesdep ~basedep ~cli-argumentsdep ~phonetic-languages-basisPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, cli-arguments, phonetic-languages-basis, phonetic-languages-permutations-array

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -55,3 +55,8 @@ ## 0.7.0.0 -- 2022-09-13  * Seventh version. Added new module Interpreter.ArgsConversion. Added new lightweight dependencies.++## 0.8.0.0 -- 2023-01-30++* Eigth version. Switched to NoImplicitPrelude extension. Updated the dependencies boundaries.+
Interpreter/ArgsConversion.hs view
@@ -1,9 +1,11 @@+{-# LANGUAGE NoImplicitPrelude #-}+ -- | -- Module      :  Interpreter.ArgsConversion--- Copyright   :  (c) OleksandrZhabenko 2020-2022+-- Copyright   :  (c) OleksandrZhabenko 2020-2023 -- License     :  MIT -- Stability   :  Experimental--- Maintainer  :  olexandr543@yahoo.com+-- Maintainer  :  oleksandr.zhabenko@yahoo.com -- -- Prints the rearrangements with the \"property\" information for the Ukrainian language text. @@ -12,14 +14,20 @@  module Interpreter.ArgsConversion where -import Phonetic.Languages.Coeffs+import GHC.Base+import Data.Tuple+import GHC.List+import Data.List (words)+import GHC.Num+import GHC.Real (rem)+import Phladiprelio.Coeffs import Interpreter.StringConversion (readFileIfAny) import Data.Maybe (fromMaybe) import Text.Read (readMaybe) import CLI.Arguments import CLI.Arguments.Parsing import CLI.Arguments.Get-import Phonetic.Languages.Permutations.Represent+import Phladiprelio.PermutationsRepresent  argsConversion :: String -> ([Char], PermutationsType, Bool, Bool, [String], Coeffs2, Coeffs2, [String], Bool, Bool, Int, Int) argsConversion xs = 
Interpreter/StringConversion.hs view
@@ -1,24 +1,28 @@ {-# OPTIONS_HADDOCK show-extensions #-} {-# LANGUAGE ScopedTypeVariables #-}-+{-# LANGUAGE NoImplicitPrelude #-}  -- | -- Module      :  Interpreter.StringConversion--- Copyright   :  (c) OleksandrZhabenko 2021-2022+-- Copyright   :  (c) OleksandrZhabenko 2021-2023 -- License     :  MIT -- Stability   :  Experimental--- Maintainer  :  olexandr543@yahoo.com+-- Maintainer  :  oleksandr.zhabenko@yahoo.com -- -- A library that has commonly used function for the phonetic-languages implementations.  module Interpreter.StringConversion where +import GHC.Base+import GHC.Num ((-),(+),abs) import Text.Read (readMaybe)+import Text.Show import Data.Maybe (fromJust,fromMaybe) import Data.Char (isDigit)-import Data.List (sort,(\\))+import Data.List import Data.Monoid (mappend) import Control.Exception+import System.IO  {-| Converts the second given string into the form that can be easily used by the phonetic-languages-simplified-* implementations. -} convStringInterpreter :: String -> String -> String
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2021-2022 OleksandrZhabenko+Copyright (c) 2021-2023 OleksandrZhabenko  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
string-interpreter.cabal view
@@ -2,15 +2,15 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                string-interpreter-version:             0.7.0.0+version:             0.8.0.0 synopsis:            Is used in the phonetic languages approach (e. g. in the recursive mode). description:         A library that has commonly used functions for the phonetic-languages implementations that deals with String data. homepage:            https://hackage.haskell.org/package/string-interpreter license:             MIT license-file:        LICENSE author:              OleksandrZhabenko-maintainer:          olexandr543@yahoo.com-copyright:           OleksandrZhabenko+maintainer:          oleksandr.zhabenko@yahoo.com+copyright:           Oleksandr Zhabenko category:            Language build-type:          Simple extra-source-files:  ChangeLog.md@@ -19,7 +19,7 @@ library   exposed-modules:     Interpreter.StringConversion, Interpreter.ArgsConversion   -- other-modules:-  -- other-extensions:-  build-depends:       base >=4.8 && <5, cli-arguments == 0.6.0.0, phonetic-languages-permutations-array == 0.3.4.0, phonetic-languages-basis == 0.2.0.0 +  other-extensions:    NoImplicitPrelude+  build-depends:       base >=4.13 && <5, cli-arguments == 0.7.0.0, phonetic-languages-permutations-array == 0.4.0.0, phonetic-languages-basis == 0.3.0.0    -- hs-source-dirs:   default-language:    Haskell2010