reexport stuff from BuilderQQ
This commit is contained in:
parent
858e1c62ce
commit
cbff8f1a53
5 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue