Files
dotfiles/cabal/share/x86_64-osx-ghc-7.8.4/hlint-1.9.18/Generalise.hs
2015-04-05 17:47:08 +02:00

12 lines
213 B
Haskell

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