Commit d48fed4e authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Define fixity for `Data.Foldable.{elem,notElem}`

This was probably just an oversight. With this change the fixity matches
that from `Data.List.{elem,notElem`}`.

Addresses #9610

Reviewed By: austin, ekmett

Differential Revision: https://phabricator.haskell.org/D227
parent e1c6352a
......@@ -71,6 +71,8 @@ import GHC.Arr ( Array(..), Ix(..), elems )
import GHC.Base hiding ( foldr )
import GHC.Num ( Num(..) )
infix 4 `elem`, `notElem`
-- | Data structures that can be folded.
--
-- Minimal complete definition: 'foldMap' or 'foldr'.
......
......@@ -29,6 +29,9 @@
* Add `Data.List.uncons` list destructor (#9550)
* Set fixity for `Data.Foldable.{elem,notElem}` to match the
conventional one set for `Data.List.{elem,notElem}` (#9610)
## 4.7.0.1 *Jul 2014*
* Bundled with GHC 7.8.3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment