phonetic-languages-permutations-array 0.3.0.1 → 0.3.1.0
raw patch · 3 files changed
+26/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Phonetic.Languages.Permutations.Represent: P :: Int -> PermutationsType
+ Phonetic.Languages.Permutations.Represent: data PermutationsType
+ Phonetic.Languages.Permutations.Represent: instance GHC.Classes.Eq Phonetic.Languages.Permutations.Represent.PermutationsType
+ Phonetic.Languages.Permutations.Represent: instance GHC.Classes.Ord Phonetic.Languages.Permutations.Represent.PermutationsType
+ Phonetic.Languages.Permutations.Represent: instance GHC.Show.Show Phonetic.Languages.Permutations.Represent.PermutationsType
Files
- CHANGELOG.md +5/−0
- Phonetic/Languages/Permutations/Represent.hs +19/−0
- phonetic-languages-permutations-array.cabal +2/−2
CHANGELOG.md view
@@ -17,3 +17,8 @@ ## 0.3.0.1 -- 2022-01-15 * Third version revised A. Some code improvements.++## 0.3.1.0 -- 2022-01-16++* Third version revised B. Added a new module Phonetic.Languages.Permutations.Represent with a data type to mark type of+permutations from the other modules where permutations from the other modules are possibly used together.
+ Phonetic/Languages/Permutations/Represent.hs view
@@ -0,0 +1,19 @@+-- |+-- Module : Phonetic.Languages.Permutations.Represent+-- Copyright : (c) OleksandrZhabenko 2022+-- License : MIT+-- Stability : Experimental+-- Maintainer : olexandr543@yahoo.com+--+-- Permutations data type to mark the needed permutations type from the other modules.++module Phonetic.Languages.Permutations.Represent (+ PermutationsType(..)+) where++import Data.Monoid++data PermutationsType = P Int deriving (Eq, Ord)++instance Show PermutationsType where+ show (P x) = "+p " `mappend` show x
phonetic-languages-permutations-array.cabal view
@@ -2,7 +2,7 @@ -- For further documentation, see http://haskell.org/cabal/users-guide/ name: phonetic-languages-permutations-array-version: 0.3.0.1+version: 0.3.1.0 synopsis: Permutations and universal set related functions for the phonetic-languages series description: Permutations-related to produce universal set of the task. Uses arrays instead of vectors. homepage: https://hackage.haskell.org/package/phonetic-languages-permutations-array@@ -17,7 +17,7 @@ cabal-version: >=1.10 library- exposed-modules: Phonetic.Languages.Permutations.Arr, Phonetic.Languages.Permutations.ArrMini, Phonetic.Languages.Permutations.ArrMini1+ exposed-modules: Phonetic.Languages.Permutations.Arr, Phonetic.Languages.Permutations.ArrMini, Phonetic.Languages.Permutations.ArrMini1, Phonetic.Languages.Permutations.Represent -- other-modules: other-extensions: MultiWayIf build-depends: base >=4.8 && <5, subG >=0.4.2 && <1