IPv6Addr 0.3 → 0.3.0.1
raw patch · 5 files changed
+17/−13 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- IPv6Addr.cabal +1/−1
- Text/IPv6Addr.hs +6/−5
- Text/IPv6Addr/Internal.hs +4/−3
- Text/IPv6Addr/Manip.hs +3/−2
- Text/IPv6Addr/Types.hs +3/−2
IPv6Addr.cabal view
@@ -1,5 +1,5 @@ name: IPv6Addr-version: 0.3+version: 0.3.0.1 license: BSD3 license-file: LICENSE Copyright: Copyright © 2011-2013 - Michel Boucey
Text/IPv6Addr.hs view
@@ -1,4 +1,5 @@ -- -----------------------------------------------------------------------------+ -- | -- Module : Text.IPv6Addr -- Copyright : (c) Michel Boucey 2011-2013@@ -6,9 +7,9 @@ -- Maintainer : michel.boucey@gmail.com -- Stability : provisional ----- Dealing with IPv6 address text representations,--- canonization and manipulations.+-- Dealing with IPv6 address text representations, canonization and manipulations. --+ -- ----------------------------------------------------------------------------- module Text.IPv6Addr@@ -58,8 +59,8 @@ maybeFullIPv6Addr t = maybeTokPureIPv6Addr t >>= \m -> ipv6TokensToIPv6Addr $ expandTokens $ fromDoubleColon m --- | Returns 'Just' the reverse lookup domain name corresponding of the given IPv6 address,--- as define in RFC 3596 Section 2.5, or 'Nothing'.+-- | Returns 'Just' the reverse lookup domain name corresponding of the given IPv6 address+-- (RFC 3596 Section 2.5), or 'Nothing'. -- -- > ip6arpa "4321:0:1:2:3:4:567:89ab" == Just "b.a.9.8.7.6.5.0.4.0.0.0.3.0.0.0.2.0.0.0.1.0.0.0.0.0.0.0.1.2.3.4.ip6.arpa." --@@ -76,7 +77,7 @@ (if c /= ':' then o `T.append` T.pack [c] `T.append` T.pack "." else o) -- | Returns 'Just' the canonized 'IPv6Addr' of the given network interface,--- or Nothing.+-- or 'Nothing'. -- -- > getIPv6AddrOf "eth0" --
Text/IPv6Addr/Internal.hs view
@@ -1,4 +1,5 @@ -- -----------------------------------------------------------------------------+ -- | -- Module : Text.IPv6Addr -- Copyright : (c) Michel Boucey 2011-2013@@ -6,9 +7,9 @@ -- Maintainer : michel.boucey@gmail.com -- Stability : provisional ----- Dealing with IPv6 address text representations,--- canonization and manipulations.+-- Dealing with IPv6 address text representations, canonization and manipulations. --+ -- ----------------------------------------------------------------------------- module Text.IPv6Addr.Internal@@ -241,7 +242,7 @@ otherwise -> False -- | Rewrites 'Just' an embedded 'IPv4Addr' into the corresponding list of pure--- IPv6Addr tokens.+-- 'IPv6Addr' tokens. -- -- > ipv4AddrToIPv6AddrTokens (IPv4Addr "127.0.0.1") == [SixteenBits "7f0",Colon,SixteenBits "1"] --
Text/IPv6Addr/Manip.hs view
@@ -1,4 +1,5 @@ -- -----------------------------------------------------------------------------+ -- | -- Module : Text.IPv6Addr -- Copyright : (c) Michel Boucey 2011-2013@@ -6,9 +7,9 @@ -- Maintainer : michel.boucey@gmail.com -- Stability : provisional ----- Dealing with IPv6 address text representations,--- canonization and manipulations.+-- Dealing with IPv6 address text representations, canonization and manipulations. --+ -- ----------------------------------------------------------------------------- module Text.IPv6Addr.Manip
Text/IPv6Addr/Types.hs view
@@ -1,4 +1,5 @@ -- -----------------------------------------------------------------------------+ -- | -- Module : Text.IPv6Addr -- Copyright : (c) Michel Boucey 2011-2013@@ -6,9 +7,9 @@ -- Maintainer : michel.boucey@gmail.com -- Stability : provisional ----- Dealing with IPv6 address text representations,--- canonization and manipulations.+-- Dealing with IPv6 address text representations, canonization and manipulations. --+ -- ----------------------------------------------------------------------------- module Text.IPv6Addr.Types where