HostAndPort: Parser for host and port pairs like localhost:22

[ library, mit, network ] [ Propose Tags ]

Simple parser for parsing host and port pairs. Host can be either ipv4, ipv6 or domain name and port are optional.

IPv6 address should be surrounded by square brackets.


[Skip to Readme]
Versions [faq] 0.1.0, 0.2.0
Dependencies base (>=4.5 && <5), parsec (>=3.1) [details]
License MIT
Copyright (c) Slava Bacherikov 2015
Author Slava Bacherikov
Category Network
Home page
Bug tracker
Source repo head: git clone
Uploaded by slava at 2015-08-01T14:30:24Z
Distributions NixOS:0.2.0
Downloads 1640 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-08-01 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for HostAndPort-0.2.0

[back to package description]


[Build Status] (

Simple Haskell library for parsing connection strings that contain host and port info. For more info see package documentation.