... | ... | @@ -124,3 +124,13 @@ As per [CLC proposal #91](https://github.com/haskell/core-libraries-committee/is |
|
|
```
|
|
|
|
|
|
Adapting to this change might require defining missing `Functor` instances for types implementing the `Bifunctor` class.
|
|
|
|
|
|
### `mtl` 2.3 changes
|
|
|
|
|
|
GHC now bundles `mtl` 2.3, which includes some non-backwards-compatible changes:
|
|
|
|
|
|
1. removal of `Control.Monad.Error` (which has long been deprecated in favour of `Control.Monad.Except`),
|
|
|
2. removal of `Control.Monad.List`,
|
|
|
3. removal of re-exports of `Control.Monad`, `Control.Monad.Fix` and `Data.Monoid`.
|
|
|
|
|
|
(1) should be fixed by importing `Control.Monad.Except` instead. (2) can be fixed by using an alternative implementation of the `ListT` monad transformer, such as the [`list-t`](https://hackage.haskell.org/package/list-t) package or a fully fledged streaming library. (3) can be addressed by explicitly importing the relevant modules. |
|
|
\ No newline at end of file |