{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Zenacy.HTML.Internal.Types
( HTMLNamespace(..)
, HTMLAttrNamespace(..)
) where
import Data.Default
( Default(..)
)
data HTMLNamespace
= HTMLNamespaceHTML
| HTMLNamespaceSVG
| HTMLNamespaceMathML
deriving (Eq, Ord, Show)
data HTMLAttrNamespace
= HTMLAttrNamespaceNone
| HTMLAttrNamespaceXLink
| HTMLAttrNamespaceXML
| HTMLAttrNamespaceXMLNS
deriving (Eq, Ord, Show)
instance Default HTMLNamespace where
def = HTMLNamespaceHTML
instance Default HTMLAttrNamespace where
def = HTMLAttrNamespaceNone