mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
11 lines
329 B
Haskell
11 lines
329 B
Haskell
error "generalize fmap" = map ==> fmap
|
|
|
|
-- AMP fallout
|
|
error "generalize mapM" = mapM ==> traverse
|
|
error "generalize mapM_" = mapM_ ==> traverse_
|
|
error "generalize forM" = forM ==> for
|
|
error "generalize forM_" = forM_ ==> for_
|
|
error "Avoid return" =
|
|
return ==> pure
|
|
where note = "return is obsolete as of GHC 7.10"
|