versions 1.0.1 → 1.0.2
raw patch · 2 files changed
+7/−9 lines, 2 files
Files
- Data/Versions.hs +4/−1
- versions.cabal +3/−8
Data/Versions.hs view
@@ -65,7 +65,6 @@ import Data.Semigroup import Data.Text (Text,pack,unpack,snoc) import Text.ParserCombinators.Parsec-import TextShow (showt) --- @@ -341,3 +340,7 @@ opposite EQ = EQ opposite LT = GT opposite GT = LT++-- Yes, `text-show` exists, but this reduces external dependencies.+showt :: Show a => a -> Text+showt = pack . show
versions.cabal view
@@ -1,5 +1,5 @@ name: versions-version: 1.0.1+version: 1.0.2 synopsis: Types and parsers for software version numbers. description: A library for parsing and comparing software version numbers. .@@ -24,10 +24,8 @@ license-file: LICENSE author: Colin Woodbury maintainer: colingw@gmail.com--- copyright: category: Data build-type: Simple--- extra-source-files: cabal-version: >=1.10 source-repository head@@ -36,16 +34,13 @@ library exposed-modules: Data.Versions- -- other-modules: + other-extensions: OverloadedStrings build-depends: base >=4.8 && <4.9 , parsec >=3.1 && <3.2 , semigroups >= 0.16.2.2--- , tasty >= 0.11.0.1--- , tasty-hunit >= 0.9.2 , text >=1.2 && <1.3- , text-show >= 2- -- hs-source-dirs: + default-language: Haskell2010 test-suite versions-test