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
13 -- trac m x = trace m x
14 dbg :: Show a => String -> a -> a
15 dbg m x = trac (m <> ": " <> show x) x
35 type Attrs = [(White,Attr)]