Skip to content

Commit

Permalink
Bump stylish-haskell to 1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Nov 20, 2015
1 parent 9f099ba commit e5b0dd6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
@@ -1,3 +1,6 @@
- 0.5.14.4
* Bump `stylish-haskell` to 1.17.0

- 0.5.14.3
* Bump `HUnit` to 1.13

Expand Down
4 changes: 2 additions & 2 deletions src/Language/Haskell/Stylish/Step/Imports.hs
Expand Up @@ -59,8 +59,8 @@ compareImportSpecs :: H.ImportSpec l -> H.ImportSpec l -> Ordering
compareImportSpecs = comparing key
where
key :: H.ImportSpec l -> (Int, Int, String)
key (H.IVar _ _ x) = let n = nameToString x in (1, operator n, n)
key (H.IAbs _ x) = (0, 0, nameToString x)
key (H.IVar _ x) = let n = nameToString x in (1, operator n, n)
key (H.IAbs _ _ x) = (0, 0, nameToString x)
key (H.IThingAll _ x) = (0, 0, nameToString x)
key (H.IThingWith _ x _) = (0, 0, nameToString x)

Expand Down
8 changes: 4 additions & 4 deletions stylish-haskell.cabal
@@ -1,5 +1,5 @@
Name: stylish-haskell
Version: 0.5.14.3
Version: 0.5.14.4
Synopsis: Haskell code prettifier
Homepage: https://github.com/jaspervdj/stylish-haskell
License: BSD3
Expand Down Expand Up @@ -52,7 +52,7 @@ Library
containers >= 0.3 && < 0.6,
directory >= 1.1 && < 1.3,
filepath >= 1.1 && < 1.5,
haskell-src-exts >= 1.16 && < 1.17,
haskell-src-exts >= 1.17 && < 1.18,
mtl >= 2.0 && < 2.3,
syb >= 0.3 && < 0.7,
yaml >= 0.7 && < 0.9
Expand All @@ -73,7 +73,7 @@ Executable stylish-haskell
containers >= 0.3 && < 0.6,
directory >= 1.1 && < 1.3,
filepath >= 1.1 && < 1.5,
haskell-src-exts >= 1.16 && < 1.17,
haskell-src-exts >= 1.17 && < 1.18,
mtl >= 2.0 && < 2.3,
syb >= 0.3 && < 0.7,
yaml >= 0.7 && < 0.9
Expand Down Expand Up @@ -106,7 +106,7 @@ Test-suite stylish-haskell-tests
containers >= 0.3 && < 0.6,
directory >= 1.1 && < 1.3,
filepath >= 1.1 && < 1.5,
haskell-src-exts >= 1.16 && < 1.17,
haskell-src-exts >= 1.17 && < 1.18,
mtl >= 2.0 && < 2.3,
syb >= 0.3 && < 0.7,
yaml >= 0.7 && < 0.9
Expand Down

0 comments on commit e5b0dd6

Please sign in to comment.