Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Haskell bindings to the MaxMind GeoIPCity database

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .ghci
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 hs-GeoIP.cabal

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 ""

Please see haddocks for additional details.

Something went wrong with that request. Please try again.