Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trskop/host-and-port

Data type and utilities for handling host name and port number pairs
https://github.com/trskop/host-and-port

haskell hostname network portnumber

Last synced: 10 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.