On 7/8/2012 11:28 AM, Roman Cheplyaka wrote:
Is there a way to control defaulting in ghci? (Like the "default"
declaration in source files does.)

ghci 7.4.1 doesn't accept "default" declarations. I tried loading a
module with a "default" declaration, but that also didn't affect the
ghci session.

It would be ironic if this is possible in source files but not in ghci,
since defaulting is much more useful in an interactive session than in
modules.


I've too wanted this for quite some time, so I have created a ticket + a patch[1] that implements this feature. Feel free to test it.

[1]: http://hackage.haskell.org/trac/ghc/ticket/7061

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to