packages feed

GeoIp 0.2 → 0.3

raw patch · 3 files changed

+9/−6 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Network.GeoIp.GeoCityIp: findLocation :: (Monad m) => GeoCityDB -> Integer -> m (Double, Double)
+ Network.GeoIp.GeoCityIp: findLocation :: Monad m => GeoCityDB -> Integer -> m (Double, Double)
- Network.GeoIp.GeoCityIp: findRange :: (Monad m) => GeoCityDB -> Integer -> m (Integer, Integer)
+ Network.GeoIp.GeoCityIp: findRange :: Monad m => GeoCityDB -> Integer -> m (Integer, Integer)

Files

GeoIp.cabal view
@@ -1,18 +1,19 @@ Name:		GeoIp-Version:	0.2+Version:	0.3 License:	OtherLicense-License-File: Copying+License-File:	Copying Author:		Stephen Cook-Maintainer: siti@orcon.net.nz+Maintainer:	siti@orcon.net.nz category:	Network Synopsis:	Pure bindings for the MaxMind IP database. Stability:	alpha-build-type: Simple+build-type:	Simple+Extra-Source-Files: examples/TestGeoIp.hs Description:   GeoIp is a pure haskell binding to the MaxMind IP database.   The IP database contains information such as the approximate   longitude and latitude of an IP address.-Cabal-Version: >= 1.2.1+Cabal-Version:	>= 1.6.0  Library {   Exposed-modules:@@ -20,5 +21,5 @@   Other-modules:     Network.GeoIp.GeoDB   build-depends: base > 4.0, bytestring, bytestring-mmap, syb-  ghc-options: -Wall -fglasgow-exts+  ghc-options: -Wall }
Network/GeoIp/GeoCityIp.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE ExistentialQuantification #-}  -- | This module loads the MaxMind's GeoIp City database. module Network.GeoIp.GeoCityIp (
Network/GeoIp/GeoDB.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE ExistentialQuantification,DeriveDataTypeable #-} module Network.GeoIp.GeoDB where  import System.IO.Posix.MMap