Testing non-exported functions using ghci

Hello, I have modules that don't export some functions. Is there a way I can access them from ghci without exporting them? Thanks -John

Hi, 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. Greetings, Joachim -- Joachim Breitner e-Mail: mail@joachim-breitner.de Homepage: http://www.joachim-breitner.de ICQ#: 74513189

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
participants (3)
-
Henning Thielemann
-
Joachim Breitner
-
John Ky