locators 0.2.4.1 → 0.2.4.2
raw patch · 2 files changed
+3/−4 lines, 2 filesdep −textPVP ok
version bump matches the API change (PVP)
Dependencies removed: text
API changes (from Hackage documentation)
Files
- locators.cabal +1/−3
- src/Data/Locator/Locators.hs +2/−1
locators.cabal view
@@ -1,6 +1,6 @@ cabal-version: >= 1.10 name: locators-version: 0.2.4.1+version: 0.2.4.2 synopsis: Human exchangable identifiers and locators license: BSD3 author: Andrew Cowie <andrew@operationaldynamics.com>@@ -17,7 +17,6 @@ build-depends: base >= 4 && <5, bytestring,- text, containers, cryptohash, cereal@@ -53,7 +52,6 @@ hspec-expectations, QuickCheck, bytestring,- text, containers, cryptohash, cereal
src/Data/Locator/Locators.hs view
@@ -209,7 +209,8 @@ toLocator16a :: Int -> Int -> String toLocator16a limit n = let- ls = convert n (replicate limit minBound) :: [English16]+ n' = abs n+ ls = convert n' (replicate limit minBound) :: [English16] (_,us) = mapAccumL uniq Set.empty ls in map locatorToDigit (take limit us)