-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal repl should turn on the default extensions #8539
Comments
Hi, thanks for the proposal which at a first glance makes sense. One possible workaround is set the extensions in a ghci specific config file ( |
Hi again, what versions of ghc and cabal are you using? It seems it works for me with cabal-3.8.1.0 and ghc-8.10.7 I've added in my
Observe that the Could you share the output of |
@dmwit: ping? |
Not sure which project I was having this problem on. Seems to be working now on the one I thought most likely to be the culprit, so I guess better close as not reproducible. |
If I specify
default-extensions
in my cabal file, that's likely because those are frequently needed (or wanted) when playing with things in that component. Since the primary thing you do incabal repl
is play with things in a component, you tend to frequently want those same extensions turned on in the ghci session (or at least, I tend to frequently want that). I can turn them on myself, of course, as I discover I need them, but it would be nice forcabal
to do it for me.The text was updated successfully, but these errors were encountered: