'Are type signatures now permitted in instance declarations without needing the InstanceSigs language extension?
I've noticed that when using VS Code with the current version of Haskell (GHC 9.2.1 and HLS 1.6.1.0), I no longer receive errors when I write type signatures in my instance declarations, even though I haven't included the {-# LANGUAGE InstanceSigs -#} extension.
Was there a change made to Haskell recently to allow instance signatures by default?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
