License | BSD-style |
---|---|
Maintainer | Nicolas Di Prima <nicolas@primetype.co.uk> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
IPv4 data type
- data IPv4
- any :: IPv4
- loopback :: IPv4
- fromString :: IsString a => String -> a
- toString :: IPv4 -> String
- fromTuple :: (Word8, Word8, Word8, Word8) -> IPv4
- toTuple :: IPv4 -> (Word8, Word8, Word8, Word8)
- ipv4Parser :: (ParserSource input, Element input ~ Char, Sequential (Chunk input), Element input ~ Element (Chunk input)) => Parser input IPv4
Documentation
IPv4 data type
fromString :: IsString a => String -> a #
ipv4Parser :: (ParserSource input, Element input ~ Char, Sequential (Chunk input), Element input ~ Element (Chunk input)) => Parser input IPv4 Source #
Parse a IPv4 address