diff options
| -rw-r--r-- | libraries/base/Data/Foldable.hs | 2 | ||||
| -rw-r--r-- | libraries/base/changelog.md | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs index f6f787b628..b839106c93 100644 --- a/libraries/base/Data/Foldable.hs +++ b/libraries/base/Data/Foldable.hs @@ -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'. diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md index 6f3c8cc754..1dbada01ba 100644 --- a/libraries/base/changelog.md +++ b/libraries/base/changelog.md @@ -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 |
