Added cabal and vim dir
This commit is contained in:
11
cabal/share/x86_64-osx-ghc-7.8.4/hlint-1.9.18/Generalise.hs
Normal file
11
cabal/share/x86_64-osx-ghc-7.8.4/hlint-1.9.18/Generalise.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
module HLint.Generalise where
|
||||
|
||||
import Data.Monoid
|
||||
import Control.Monad
|
||||
|
||||
warn = concatMap ==> (=<<)
|
||||
warn = liftM ==> fmap
|
||||
where _ = noQuickCheck
|
||||
warn = map ==> fmap
|
||||
warn = a ++ b ==> a `Data.Monoid.mappend` b
|
Reference in New Issue
Block a user