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 "126.96.36.199"
Please see haddocks for additional details.