Skip to content

Commit

Permalink
Add a deprecation message on sameIPv6Addr function
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelBoucey committed Aug 30, 2024
1 parent d71df65 commit f068a8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Text/IPv6Addr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ maybeFullIPv6Addr t =
(ipv6TokensToIPv6Addr . expandTokens . fromDoubleColon)

-- | Returns 'True' if arguments are two textual representations of a same IPv6 address.
{-# DEPRECATED sameIPv6Addr "Use the Eq instance." #-}
sameIPv6Addr :: T.Text -> T.Text -> Bool
sameIPv6Addr a b =
case maybePureIPv6Addr a of
Expand Down

0 comments on commit f068a8d

Please sign in to comment.