... | @@ -43,7 +43,7 @@ Will not typecheck if `StarIsType` is enabled, since `m * n` is treated as if on |
... | @@ -43,7 +43,7 @@ Will not typecheck if `StarIsType` is enabled, since `m * n` is treated as if on |
|
|
|
|
|
|
|
|
|
|
|
|
|
GHC now enables the `MonadFailDesugaring` extension by default, as discussed in [https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail\#Transitionalstrategy](https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail#Transitionalstrategy). This means that code that uses partial pattern matches in `do`-notation, such as this:
|
|
GHC now enables the `MonadFailDesugaring` extension by default, as discussed in [https://gitlab.haskell.org/haskell/prime/-/wikis/libraries/proposals/monad-fail#transitional-strategy](https://gitlab.haskell.org/haskell/prime/-/wikis/libraries/proposals/monad-fail#transitional-strategy). This means that code that uses partial pattern matches in `do`-notation, such as this:
|
|
|
|
|
|
|
|
|
|
```
|
|
```
|
... | @@ -67,7 +67,7 @@ f l = case l of |
... | @@ -67,7 +67,7 @@ f l = case l of |
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
Depending on the code, it is possible that this change will result in breakage. See [https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail\#Adaptingoldcode](https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail#Adaptingoldcode) for ways to adapt to breakage.
|
|
Depending on the code, it is possible that this change will result in breakage. See [https://gitlab.haskell.org/haskell/prime/-/wikis/libraries/proposals/monad-fail#adapting-old-code](https://gitlab.haskell.org/haskell/prime/-/wikis/libraries/proposals/monad-fail#adapting-old-code) for ways to adapt to breakage.
|
|
|
|
|
|
### Constructor-less GADTs now require `GADTSyntax`
|
|
### Constructor-less GADTs now require `GADTSyntax`
|
|
|
|
|
... | | ... | |