ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

Fixup deprecation warning about for function. #262

Closed tmcgilchrist closed 5 years ago

tmcgilchrist commented 5 years ago
src/Action/Server.hs:206:49: warning: [-Wdeprecations]
In the use of for (imported from Data.List.Extra):
Deprecated: Use flip map directly, since this function clashes with Data.Traversable.for

Thanks for the pull request!

By raising this pull request you confirm you are licensing your contribution under all licenses that apply to this project (see LICENSE) and that you have no patents covering your contribution.

If you care, my PR preferences are at https://github.com/ndmitchell/neil#contributions, but they're all guidelines, and I'm not too fussy - you don't have to read them.

ndmitchell commented 5 years ago

Thanks! I'll make the change to remove brackets separately (I was mostly playing around with githubs code suggestion feature)

tmcgilchrist commented 5 years ago

Cheers 👍