{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE FlexibleContexts #-} module Html.Static ( static , optimize ) where import Language.Haskell.TH import Data.Proxy import Html -- | Template haskell function to annote which parts of a html document are static. -- -- >>> :t $(static (div_ "<>")) -- Proxy "