module Network.PublicSuffixList.Types where
import qualified Data.Map as M
import qualified Data.Text as T
newtype Tree e = Node { forall e. Tree e -> Map e (Tree e)
children :: M.Map e (Tree e) }
deriving (Int -> Tree e -> ShowS
forall e. Show e => Int -> Tree e -> ShowS
forall e. Show e => [Tree e] -> ShowS
forall e. Show e => Tree e -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Tree e] -> ShowS
$cshowList :: forall e. Show e => [Tree e] -> ShowS
show :: Tree e -> String
$cshow :: forall e. Show e => Tree e -> String
showsPrec :: Int -> Tree e -> ShowS
$cshowsPrec :: forall e. Show e => Int -> Tree e -> ShowS
Show, Tree e -> Tree e -> Bool
forall e. Eq e => Tree e -> Tree e -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Tree e -> Tree e -> Bool
$c/= :: forall e. Eq e => Tree e -> Tree e -> Bool
== :: Tree e -> Tree e -> Bool
$c== :: forall e. Eq e => Tree e -> Tree e -> Bool
Eq)
def :: Ord e => Tree e
def :: forall e. Ord e => Tree e
def = forall e. Map e (Tree e) -> Tree e
Node forall k a. Map k a
M.empty
type DataStructure = (Tree T.Text, Tree T.Text)