License | BSD-style |
---|---|
Maintainer | Nicolas Di Prima <nicolas@primetype.co.uk> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
IPv4 data type
Synopsis
- 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
Instances
Eq IPv4 Source # | |
Ord IPv4 Source # | |
Defined in Foundation.Network.IPv4 |
|
Show IPv4 Source # | |
IsString IPv4 Source # | |
Defined in Foundation.Network.IPv4 fromString :: String -> IPv4 Source # |
|
NormalForm IPv4 Source # | |
Defined in Foundation.Network.IPv4 toNormalForm :: IPv4 -> () Source # |
|
StorableFixed IPv4 Source # | |
Storable IPv4 Source # | |
Hashable IPv4 Source # | |
fromString :: IsString a => String -> a Source #
ipv4Parser :: ( ParserSource input, Element input ~ Char , Sequential ( Chunk input), Element input ~ Element ( Chunk input)) => Parser input IPv4 Source #
Parse a IPv4 address