th-printf 0.3.0.0 → 0.3.1
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- src/Text/Printf/TH.hs +1/−1
- th-printf.cabal +2/−2
src/Text/Printf/TH.hs view
@@ -139,7 +139,7 @@ let processor = if pr then [e|output|] else [e|id|] lamE (concatMap collectArgs ns) [e|$(processor) (mconcat $(listE $ map arg ns) :: $(conT ty))|] where- argify p@Plain{..} = return $ PrintfArg p Nothing Nothing Nothing+ argify p@Plain{} = return $ PrintfArg p Nothing Nothing Nothing argify c@Chunk{spec = Percent} = return $ PrintfArg c Nothing Nothing Nothing argify c@Chunk{width = w, precision = p} = do wa <- if w == Just WidthStar
th-printf.cabal view
@@ -1,5 +1,5 @@ name: th-printf-version: 0.3.0.0+version: 0.3.1 synopsis: Compile-time printf description: Quasiquoters for printf: string, bytestring, text. homepage: https://github.com/joelteon/th-printf@@ -14,7 +14,7 @@ library hs-source-dirs: src exposed-modules: Text.Printf.TH- build-depends: base <4.8+ build-depends: base <4.10 , attoparsec , bytestring , template-haskell