packages feed

winery 0.3 → 0.3.1

raw patch · 2 files changed

+19/−14 lines, 2 files

Files

app/Main.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE LambdaCase, OverloadedStrings #-}+{-# LANGUAGE LambdaCase, OverloadedStrings, CPP #-} module Main where  import Control.Monad@@ -83,7 +83,11 @@     let o = foldl (flip id) defaultOptions fs     q <- case parse (parseQuery <* eof) "argument" $ T.pack qs of       Left e -> do+#if MIN_VERSION_megaparsec(7,0,0)+        hPutStrLn stderr $ errorBundlePretty e+#else         hPutStrLn stderr $ parseErrorPretty e+#endif         exitWith (ExitFailure 2)       Right a -> pure a     forM_ paths $ \case
winery.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4ead2da6a0b01af505f6701a2dc47a578d28bf11bc94f86dd7d2a8a9965f23e2+-- hash: 3ff70b5fa2376a218f9a64788b8b4456cdf456bda04e35866d05ab985880148b  name:           winery-version:        0.3+version:        0.3.1 synopsis:       Sustainable serialisation library description:    Please see the README on Github at <https://github.com/fumieval/winery#readme> category:       Data, Codec, Parsing, Serialization@@ -16,6 +16,7 @@ copyright:      Copyright (c) 2018 Fumiaki Kinoshita license:        BSD3 license-file:   LICENSE+tested-with:    GHC == 7.10.1, GHC == 8.4.1, GHC == 8.6.1 build-type:     Simple cabal-version:  >= 1.10 extra-source-files:@@ -27,15 +28,6 @@   location: https://github.com/fumieval/winery  library-  exposed-modules:-      Data.Winery-      Data.Winery.Term-      Data.Winery.Internal-      Data.Winery.Internal.Builder-      Data.Winery.Query-      Data.Winery.Query.Parser-  other-modules:-      Paths_winery   hs-source-dirs:       src   ghc-options: -Wall -O2@@ -57,6 +49,15 @@     , transformers     , unordered-containers     , vector+  exposed-modules:+      Data.Winery+      Data.Winery.Term+      Data.Winery.Internal+      Data.Winery.Internal.Builder+      Data.Winery.Query+      Data.Winery.Query.Parser+  other-modules:+      Paths_winery   default-language: Haskell2010  executable winery@@ -89,8 +90,6 @@ test-suite spec   type: exitcode-stdio-1.0   main-is: Spec.hs-  other-modules:-      Paths_winery   hs-source-dirs:       test   build-depends:@@ -113,6 +112,8 @@     , unordered-containers     , vector     , winery+  other-modules:+      Paths_winery   default-language: Haskell2010  benchmark bench-winery