Skip to content
Haskell bindings to the MaxMind GeoIPCity database
Haskell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/Data/Geolocation Don't capture accuracy_radius from the underlying C API
test
.ghci Initial commit
.gitignore Initial commit
LICENSE Initial commit
README.markdown Initial commit
Setup.hs
hs-GeoIP.cabal Don't capture accuracy_radius from the underlying C API

README.markdown

hs-GeoIP: Geolocation in Haskell using MaxMind GeoIPCity

This library provides fast, pure Haskell bindings to the MaxMind GeoIPCity database and the C library.

The workflow mirrors the various MaxMind bindings to other languages with a flavor of Haskell introduced for safe operation.

Here is an example session:

geoLookup = do
  g <- openGeoDB  "GeoLiteCity.dat" memory_cache
  geoLocateByIPAddress g "5.5.5.5"

Please see haddocks for additional details.

Something went wrong with that request. Please try again.