From 42a8cd3b71fd15b9c25f13c013cc0e50ecc9fe4f Mon Sep 17 00:00:00 2001 From: Tissevert Date: Mon, 23 Mar 2020 16:19:01 +0100 Subject: [PATCH] Explicitly require all elements imported from Lucid --- src/DOM.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/DOM.hs b/src/DOM.hs index 38c5549..00c976c 100644 --- a/src/DOM.hs +++ b/src/DOM.hs @@ -16,7 +16,11 @@ import Data.Text (pack, empty) import DOM.Card (HasCard) import qualified DOM.Card as Card (make) import Files (absoluteLink) -import Lucid +import Lucid ( + HtmlT, a_, article_, body_, charset_, class_, div_, doctypehtml_, h1_, h2_ + , head_, header_, href_, li_, link_, id_, meta_, pre_, rel_, script_, src_ + , title_, toHtml, toHtmlRaw, type_, ul_ + ) import Prelude hiding (head, lookup) import Pretty ((.$)) import System.FilePath.Posix ((), (<.>))