Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trskop/host-and-port
- Owner: trskop
- License: other
- Created: 2017-09-26T02:47:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T21:49:04.000Z (3 months ago)
- Last Synced: 2024-07-26T00:22:33.670Z (3 months ago)
- Topics: haskell, hostname, network, portnumber
- Language: Haskell
- Homepage:
- Size: 49.8 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
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.