... | ... | @@ -168,6 +168,22 @@ instanceC(Proxy a)where |
|
|
|
|
|
### `base-4.10.0.0`
|
|
|
|
|
|
#### Recommendations for forward-compatibility
|
|
|
|
|
|
|
|
|
In order to future-proof your packages for upcoming changes, add the following snippet to your `.cabal` file, and address the warnings emitted by GHC when compiling your package:
|
|
|
|
|
|
```wiki
|
|
|
if impl(ghc >= 8.0)
|
|
|
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
|
|
|
else
|
|
|
-- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8
|
|
|
build-depends: fail == 4.9.*, semigroups == 0.18.*
|
|
|
```
|
|
|
|
|
|
|
|
|
See [wiki:Migration/8.0\#base-4.9.0.0](migration/8.0#) for more details
|
|
|
|
|
|
#### Type-indexed `Typeable` changes
|
|
|
|
|
|
- The `Data.Typeable.Internal` module has been removed entirely. Much of the `Typeable` internals now live in the new `Type.Reflection` module.
|
... | ... | |