[Haskell-cafe] Wincomplete-uni-patterns and bidirectional patterns

Tom Ellis tom-lists-haskell-cafe-2023 at jaguarpaw.co.uk
Mon Jan 15 11:09:26 UTC 2024


On Mon, Jan 15, 2024 at 12:00:16PM +0100, Olaf Klinke wrote:
> How can I teach GHC 9 that the pattern is indeed exhaustive? 

Have you tried COMPLETE pragmas?

https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/pragmas.html#complete-pragmas

Tom


More information about the Haskell-Cafe mailing list