1 module Language.TCT.Elem where
5 import Data.Semigroup (Semigroup(..))
6 import Data.String (String)
7 import Data.Text (Text)
8 import Text.Show (Show(..))
10 -- import Debug.Trace (trace)
11 trac :: String -> a -> a
13 -- trac m x = trace m x
15 dbg :: Show a => String -> a -> a
16 dbg m x = trac (m <> ": " <> show x) x
30 deriving (Eq,Ord,Show)
36 type Attrs = [(White,Attr)]