packages feed

stylish-haskell 0.5.11.0 → 0.5.11.1

raw patch · 4 files changed

+8/−5 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,3 +1,6 @@+- 0.5.11.1+    * Fix -Wall compilation with GHC 7.10+ - 0.5.11.0     * Bump `haskell-src-exts` dependency to 1.16 
src/Language/Haskell/Stylish/Config.hs view
@@ -120,8 +120,9 @@         <*> (o A..:? "language_extensions" A..!= [])      -- Then fill in the steps based on the partial config we already have-    steps <- (o A..:  "steps" >>= fmap concat . mapM (parseSteps config))-    return config {configSteps = steps}+    stepValues <- o A..: "steps" :: A.Parser [A.Value]+    steps      <- mapM (parseSteps config) stepValues+    return config {configSteps = concat steps} parseConfig _            = mzero  
src/Language/Haskell/Stylish/Parse.hs view
@@ -5,7 +5,6 @@   ---------------------------------------------------------------------------------import           Control.Monad.Error             (throwError) import           Data.Maybe                      (fromMaybe, listToMaybe) import qualified Language.Haskell.Exts.Annotated as H @@ -61,6 +60,6 @@      case H.parseModuleWithComments mode noCpp of         H.ParseOk md -> return md-        err          -> throwError $+        err          -> Left $             "Language.Haskell.Stylish.Parse.parseModule: could not parse " ++             fp ++ ": " ++ show err
stylish-haskell.cabal view
@@ -1,5 +1,5 @@ Name:          stylish-haskell-Version:       0.5.11.0+Version:       0.5.11.1 Synopsis:      Haskell code prettifier Homepage:      https://github.com/jaspervdj/stylish-haskell License:       BSD3