The ip package

[Tags:benchmark, bsd3, library, test]

The ip package provides types and functions for dealing with IPv4 addresses, CIDR blocks, and MAC addresses. We provide instances for typeclasses found in commonly used packages like aeson, vector, and hashable. We also provide Parsers for working with attoparsec.

Notably, this package does not overload functions by introducing any typeclasses of its own. Neither does it prefix functions with the name of the type that they work on. Instead, functions of the same name are exported by several different modules, and it is expected that end users disambiguate by importing these modules qualified. For example, Data.IPv4.ByteString.Char8 and Data.IPv4.Text have nearly identical export lists.

The only module intended to be imported unqualified is Net.Types. The types in this package should not conflict with the types in any other commonly used packages.

The following packages are intended to be used with this package:


Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6.0, 0.6.1, 0.6.2, 0.7, 0.8, 0.8.1, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.9
Dependencies aeson (>=0.9 && <1.1), attoparsec, base (>=4.8 && <5), bytestring (==0.10.*), hashable (==1.2.*), primitive, text (==1.2.*), vector (==0.11.*) [details]
License BSD3
Copyright 2016 Andrew Martin
Author Andrew Martin
Stability Unknown
Category web
Home page
Source repository head: git clone
Uploaded Tue Feb 21 15:11:53 UTC 2017 by andrewthad
Distributions NixOS:0.9
Downloads 504 total (24 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-02-21 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees