geoip2 0.4.0.0 → 0.4.0.1
raw patch · 3 files changed
+5/−2 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.GeoIP2: _DataArray :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) [GeoFieldT a_a7GU]
+ Data.GeoIP2: _DataArray :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) [GeoFieldT a_a7I1]
- Data.GeoIP2: _DataBool :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) Bool
+ Data.GeoIP2: _DataBool :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) Bool
- Data.GeoIP2: _DataDouble :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) Double
+ Data.GeoIP2: _DataDouble :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) Double
- Data.GeoIP2: _DataInt :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) Int64
+ Data.GeoIP2: _DataInt :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) Int64
- Data.GeoIP2: _DataMap :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) (Map (GeoFieldT a_a7GU) (GeoFieldT a_a7GU))
+ Data.GeoIP2: _DataMap :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) (Map (GeoFieldT a_a7I1) (GeoFieldT a_a7I1))
- Data.GeoIP2: _DataString :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) Text
+ Data.GeoIP2: _DataString :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) Text
- Data.GeoIP2: _DataUnknown :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) (Word8, Int64)
+ Data.GeoIP2: _DataUnknown :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) (Word8, Int64)
- Data.GeoIP2: _DataWord :: forall a_a7GU. Prism' (GeoFieldT a_a7GU) Word64
+ Data.GeoIP2: _DataWord :: forall a_a7I1. Prism' (GeoFieldT a_a7I1) Word64
Files
- ChangeLog.md +3/−0
- Data/GeoIP2.hs +1/−1
- geoip2.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,6 @@+# 0.4.0.1+- Fixed typo+ # 0.4.0.0 - Added access to the complete parsed data - Added dependency on lens, exported some prisms for easy access
Data/GeoIP2.hs view
@@ -102,7 +102,7 @@ <*> hdr ^? key "node_count" . geoNum <*> hdr ^? key "record_size" . geoNum <*> hdr ^? key "ip_version" . toVersion- <*> pure (hdr ^? key "descritpion" . key "en" . _DataString)+ <*> pure (hdr ^? key "description" . key "en" . _DataString) maybe (Left "Error decoding header") return res where toVersion = geoNum . prism' pfrom pto
geoip2.cabal view
@@ -1,5 +1,5 @@ name: geoip2-version: 0.4.0.0+version: 0.4.0.1 synopsis: Pure haskell interface to MaxMind GeoIP database description: GeoIP2 is a haskell binding to the MaxMind GeoIP2 database.