-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | This project separates subdomains, domains, and top-level-domains from URLs.
--
-- This project separates subdomains, domains, and top-level-domains from
-- URLs. At compile-time, it parses a list of top-level-domains from
-- `data/tld.dat`. This list comes from
-- `http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1`.
-- This package most likely isn't perfect, especially when handling
-- unicode characters.
@package tld
@version 0.3.0.2
module Network.URI.TLD
-- | Parse a URI, and separate the subdomain, domain, and TLD of a
-- URI.
parseTLDURI :: URI -> Maybe (Text, Text, Text)
-- | Parse a String URI, and separate the subdomain, domain, and
-- TLD.
parseTLD :: String -> Maybe (Text, Text, Text)
-- | Parse a Text URI, and separate the subdomain, domain, and TLD.
parseTLDText :: Text -> Maybe (Text, Text, Text)
-- | Deprecated: Use parseTLDURI instead.
separateTLD :: URI -> Maybe (Text, Text, Text)
-- | Separate the subdomain, domain, and TLD of a Text string. You
-- probably want to use parseTLDText.
separateTLD' :: Text -> Maybe (Text, Text, Text)