About

Metadata

  • Last updated , by larsk
  • License MIT
  • Categories Network Development
  • Maintained by: Lars Kuhtz <lakuhtz@gmail.com>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.8.2
  2. 8.6.5

Package Flags

Use the -f option with cabal commands to enable flags

    with-configuration-tools (off by default)

    add support functions and instances for configuration-tools

    with-aeson (off by default)

    generate ToJSON and FromJSON instances

    with-quickcheck (off by default)

    include functions for generating arbitrary values and generate Arbitrary instances

Readme

Cabal Build

Haskell Tools for Host Addresses

This package implements Host addresses as described in RFC2396 section 3.2.2 with additional consideration of

  • RFC1123 (additional restrictions for hostnames),
  • RFC1034 (disambiguate domain names and IPv4 addresses),
  • RFC4291 (parsing of IPv6 addresses), and
  • RFC3986 and RFC5952 (IPv6 literals within host addresses).

Build from Source

cabal build

The following optional build flags are available:

  • -fwith-aeson: build ToJSON and FromJSON instance for use with aeson.

  • -fwith-configuration-tools: build instances and functions for supporting the use with configuration-tools.

  • -fwith-quickcheck: include function for generating arbitrary values and Arbitrary instance for use with QuickCheck.

Documentation

Documentation is available at https://hackage.haskell.org/package/hostaddress/.