packages feed

shakespeare-text 0.10.3 → 0.10.4

raw patch · 2 files changed

+7/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Text.Shakespeare.Text: instance ToText Int32
+ Text.Shakespeare.Text: instance ToText Int64

Files

Text/Shakespeare/Text.hs view
@@ -21,6 +21,7 @@ import qualified Data.Text as TS import qualified Data.Text.Lazy as TL import Text.Shakespeare+import Data.Int (Int32, Int64)  renderText :: Builder -> TL.Text renderText = toLazyText@@ -35,6 +36,9 @@ instance ToText [Char ] where toText = fromLazyText . TL.pack instance ToText TS.Text where toText = fromText instance ToText TL.Text where toText = fromLazyText++instance ToText Int32 where toText = toText . show+instance ToText Int64 where toText = toText . show  settings :: Q ShakespeareSettings settings = do
shakespeare-text.cabal view
@@ -1,5 +1,5 @@ name:            shakespeare-text-version:         0.10.3+version:         0.10.4 license:         BSD3 license-file:    LICENSE author:          Greg Weber <greg@gregweber.info>@@ -38,6 +38,8 @@      exposed-modules: Text.Shakespeare.Text     ghc-options:     -Wall+    if impl(ghc >= 7.4)+       cpp-options: -DGHC_7_4  test-suite test     hs-source-dirs: test