Another question about -XStrict: Why not implement it as a Core pass?

Ömer Sinan Ağacan omeragacan at
Tue Dec 8 17:50:17 UTC 2015

So this is another question comes to mind. It seems to me like it
would be a lot easier to implement, we could even implement it as a
plugin, without changing anything in GHC. (I mean -XStrict, not

I'm wondering why it's currently implemented on Haskell syntax. Any
ideas? Is it because of some typechecking related things?

More information about the ghc-devs mailing list