exon 1.0.0.2 → 1.0.1.0
raw patch · 3 files changed
+1/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- exon.cabal +1/−1
- lib/Exon/Parse.hs +0/−2
- test/Exon/Test/BasicTest.hs +0/−1
exon.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: exon-version: 1.0.0.2+version: 1.0.1.0 synopsis: Customizable Quasiquote Interpolation description: See https://hackage.haskell.org/package/exon/docs/Exon.html category: String
lib/Exon/Parse.hs view
@@ -79,13 +79,11 @@ untilTokenEnd :: Parser () untilTokenEnd =- branch $(char '\\') (anyChar *> untilTokenEnd) $ finishBefore ($(string "##{") <|> $(string "#{")) $ eof <|> (anyChar *> untilTokenEnd) untilTokenEndWs :: Parser () untilTokenEndWs =- branch $(char '\\') (anyChar *> untilTokenEndWs) $ finishBefore ($(string "##{") <|> $(string "#{") <|> void ws) $ eof <|> (anyChar *> untilTokenEndWs)
test/Exon/Test/BasicTest.hs view
@@ -40,7 +40,6 @@ test_basic = do Mon "fooandbar" === [intron|foo #{var} bar|]- "foo and \\#{bar}" === ([exon|foo #{var} \#{bar}|] :: Text) "Philip | J. | FRY" === [intron|Philip J. #{up lastName}|] "Philip | J. | FRY" === skipWs [exonws|Philip J. #{SkipWs (up lastName)}|] "Philip J. | FRY" === [exon|Philip J.#{up lastName}|]