haskell / play-haskell

Haskell Playground
125 stars 8 forks source link

Add the ability to apply suppression flags for Core output #18

Closed tchoutri closed 1 year ago

tchoutri commented 1 year ago

On user request, it would be interesting to provide a way to apply various suppression flags (https://downloads.haskell.org/ghc/latest/docs/users_guide/debugging.html#suppressing-unwanted-information) on the Core output

tomsmeding commented 1 year ago

I think this is #2 already, right?

tchoutri commented 1 year ago

ugh, yes absolutely

s-and-witch commented 1 year ago

@tchoutri you can use arbitrary options using OPTIONS_GHC pragma: https://play.haskell.org/saved/IMAPoEKI