1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 07:25:44 +03:00

Merge pull request #628 from github/that's-a-wrap

Hint to use `wrap`.
This commit is contained in:
Josh Vera 2016-07-07 17:20:01 -04:00 committed by GitHub
commit 81b37bd546

View File

@ -12,4 +12,6 @@ error "Avoid return" =
where note = "return is obsolete as of GHC 7.10" where note = "return is obsolete as of GHC 7.10"
error "use pure" = free . Pure ==> pure error "use pure" = free . Pure ==> pure
error "use wrap" = free . Free ==> wrap
error "use extract" = headF . runCofree ==> extract error "use extract" = headF . runCofree ==> extract