[Haskell-cafe] Control defaulting in ghci

Roman Cheplyaka roma at ro-che.info
Sun Jul 8 17:28:45 CEST 2012


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.

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



More information about the Haskell-Cafe mailing list