Skip to content

Data type and utilities for handling host name and port number pairs

License

Notifications You must be signed in to change notification settings

trskop/host-and-port

Repository files navigation

host-and-port

Description

Data type and utilities for handling host name and port number pairs.

This Haskell package provides:

  • Generic data type for storing host name and port number that uses phantom types to distinguish between server/client, and various protocols/services/APIs.
  • Type classes for accessing host name and port number in a data type using lenses.
  • Generic parsing of host name and port number from e.g. command line arguments.

About

Data type and utilities for handling host name and port number pairs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published