reexport stuff from BuilderQQ

This commit is contained in:
Rhiannon Morris 2020-07-19 17:32:27 +02:00
parent 858e1c62ce
commit cbff8f1a53
5 changed files with 4 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{-# LANGUAGE TemplateHaskell #-}
module BuilderQQ (b) where
module BuilderQQ (b, Builder, toLazyText, fromText, fromString, fromChar) where
import Data.Char (isLower, isSpace, isDigit, isAlphaNum)
import Language.Haskell.TH
@ -176,3 +176,6 @@ pattern c :. t <- (Text.uncons -> Just (c, t))
where c :. t = Text.cons c t
{-# COMPLETE NilT, (:.) :: Text #-}
fromChar :: Char -> Builder
fromChar = singleton