Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 3914139491
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (10 sloc) 0.477 kB

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.

Jump to Line
Something went wrong with that request. Please try again.