haskell-hvr / regex-tdfa

Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base)
http://hackage.haskell.org/package/regex-tdfa
Other
36 stars 9 forks source link

MonoPatBinds prevents building with GHC 9.2 #23

Closed cdsmith closed 3 years ago

cdsmith commented 3 years ago

Even with cabal build --allow-newer, cabal will not build regex-tdfa using GHC 9.2. The reason is that it specifies -XNoMonoPatBinds as a default extension in the cabal file. This has had no effect since GHC 7.4, and has finally been removed in GHC 9.2.

andreasabel commented 3 years ago

I prepared PR #24 to fix this.

I can't test this at the moment as

@cdsmith: Would you mind testing this for me before I release it?

andreasabel commented 3 years ago

I released 1.3.1.1 on hackage.

andreasabel commented 3 years ago

I tested now with GHC 9.2 alpha2.