packages feed

weeder 1.0.7 → 1.0.8

raw patch · 4 files changed

+6/−4 lines, 4 files

Files

CHANGES.txt view
@@ -1,5 +1,7 @@ Changelog for Weeder +1.0.8, released 2018-08-26+    #42, make paths case-insensitive on MacOS 1.0.7, released 2018-08-23     Don't warn on base as it is used by Paths_ modules     #42, make --verbose print out the version number
README.md view
@@ -51,7 +51,7 @@  **Travis:** Execute the following command: -    curl -sL https://raw.github.com/ndmitchell/weeder/master/misc/travis.sh | sh -s .+    curl -sSL https://raw.github.com/ndmitchell/weeder/master/misc/travis.sh | sh -s .  The arguments after `-s` are passed to `weeder`, so modify the final `.` if you want other arguments. 
src/Util.hs view
@@ -72,12 +72,12 @@ isHaskellCtor (x:xs) = isUpper x || x == ':'  -- | Normal 'FilePath' has 'Eq' but it allows non-normalised paths---   and on Windows is case-sensitive even when the underlying file system isn't.+--   and on Windows/Mac is case-sensitive even when the underlying file system isn't. newtype FilePathEq = FilePathEq FilePath     deriving (Hashable,Eq,Ord,Show)  filePathEq :: FilePath -> FilePathEq-filePathEq = FilePathEq . (if isWindows then lower else id) . normalise+filePathEq = FilePathEq . (if isWindows || isMac then lower else id) . normalise  -- | Given a list of mappings, and an initial set, find which items can be reached reachable :: (Eq k, Hashable k) => (k -> [k]) -> [k] -> Set.HashSet k
weeder.cabal view
@@ -1,7 +1,7 @@ cabal-version:      >= 1.18 build-type:         Simple name:               weeder-version:            1.0.7+version:            1.0.8 license:            BSD3 license-file:       LICENSE category:           Development