hsx 0.10.1 → 0.10.2
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~haskell-src-extsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: haskell-src-exts
API changes (from Hackage documentation)
Files
- hsx.cabal +2/−2
- src/Trhsx.hs +2/−2
hsx.cabal view
@@ -1,5 +1,5 @@ Name: hsx-Version: 0.10.1+Version: 0.10.2 License: BSD3 License-File: LICENSE Author: Niklas Broberg, Joel Bjornson@@ -41,7 +41,7 @@ Flag base4 Library- Build-depends: mtl, haskell-src-exts >= 1.11, utf8-string+ Build-depends: mtl, haskell-src-exts >= 1.13, utf8-string if flag(base4) Build-depends: base >= 4 && < 5 cpp-options: -DBASE4
src/Trhsx.hs view
@@ -64,8 +64,8 @@ transform $ checkParse $ parse fp fc parse :: String -> String -> ParseResult Module-parse fn fc = parseFileContentsWithMode (ParseMode fn allExtensions False True Nothing) fc--- where fcuc= unlines $ filter (not . isPrefixOf "#") $ lines fc+parse fn fc = parseModuleWithMode (ParseMode fn allExtensions False True (Just baseFixities)) fcuc+ where fcuc= unlines $ filter (not . isPrefixOf "#") $ lines fc usageString :: String usageString = "Usage: trhsx <infile> [<outfile>]"