[Haskell-cafe] Testing non-exported functions using ghci

Henning Thielemann lemming at henning-thielemann.de
Mon Nov 13 12:29:19 EST 2006


On Mon, 13 Nov 2006, Joachim Breitner wrote:

> Am Montag, den 13.11.2006, 21:24 +1100 schrieb John Ky:
> > I have modules that don't export some functions.  Is there a way I can
> > access them from ghci without exporting them?
> 
> It seems that if there are .hi files around, ghci can't reach the
> non-exported functions, but if you delete this file, it works.

or 'touch' the source module
 http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-compiled.html


More information about the Haskell-Cafe mailing list