* Patrick Palka <[email protected]> [2012-07-08 14:39:26-0400]
> 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

Very nice, thanks!

I'm travelling at the moment and don't have a good enough internet
connection to fetch the GHC sources, but I'll try it and let you know in
a couple of weeks.

-- 
Roman I. Cheplyaka :: http://ro-che.info/

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

Reply via email to