1 module Language.TCT.Elem where
4 import Data.Semigroup (Semigroup(..))
5 import Data.String (String)
6 import Data.Text (Text)
7 import Text.Show (Show(..))
9 --import Debug.Trace (trace)
10 trac :: String -> a -> a
12 -- trac m x = trace m x
13 dbg :: Show a => String -> a -> a
14 dbg m x = trac (m <> ": " <> show x) x
33 type Attrs = [(White,Attr)]