mmsyn2 0.1.6.1 → 0.1.7.0
raw patch · 3 files changed
+8/−4 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CaseBi.hs +2/−2
- ChangeLog.md +4/−0
- mmsyn2.cabal +2/−2
CaseBi.hs view
@@ -50,8 +50,8 @@ -- > an -> bn -- getBFst' - :: (Ord a) => (b, -- ^ @b@ is a default value that can be substituted if there is no correspendence in the set of @(a, b)@ tuples (the 'otherwise' or irrefutable pattern analogue). - V.Vector (a, b)) -- ^ Vector of the @(a, b)@ tuples that must be sorted in ascending order for the first argument. If there are several pairs @(a, b)@ with the same @a@, the function gives a resulting @b@ as if there is only the first one+ :: (Ord a) + => (b, V.Vector (a, b)) -- ^ @b@ is a default value that can be substituted if there is no correspendence in the set of @(a, b)@ tuples (the 'otherwise' or irrefutable pattern analogue). Vector of the @(a, b)@ tuples that must be sorted in ascending order for the first argument. If there are several pairs @(a, b)@ with the same @a@, the function gives a resulting @b@ as if there is only the first one -> a -- ^ an element for which the corresponding resulting b must be found -> b -- ^ the result getBFst' (def, vec) l | if compare l (fst (V.unsafeIndex vec 0)) == LT then True else compare l (fst (V.unsafeIndex vec (V.length vec - 1))) == GT = def
ChangeLog.md view
@@ -27,3 +27,7 @@ * First version revised F. Some minor documentation changes. The benchmark testing continues.++## 0.1.7.0 -- 2019-12-24++* First version revised G. Changed the dependency bounds so that it now can be compiled with GHC 8.8.1.
mmsyn2.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: mmsyn2-version: 0.1.6.1+version: 0.1.7.0 synopsis: The library that can be used for multiple (Ord a) => a -> b transformations description: The library that can be used for optimization or another representation of multiple (Ord a) => a -> b transformations homepage: https://oleksandrzhabenko.github.io/mmsyn2@@ -20,7 +20,7 @@ exposed-modules: CaseBi -- other-modules: -- other-extensions:- build-depends: base >=4.3 && <4.13, vector >=0.11 && <0.13+ build-depends: base >=4.3 && <4.14, vector >=0.11 && <0.13 -- hs-source-dirs: default-language: Haskell2010 -- optimization: 2