[Haskell-cafe] question about ghci on windows ...

Galchin Vasili vigalchin at gmail.com
Wed Nov 21 19:57:55 EST 2007


Hi Ian,

    I am trying to dump out all function signatures exported from
System.Directory. I just tried
inside ghci: :! ghc --show-iface System.Directory. This is getting closer
... thank you! However, now there appears to be a "path" problem because I
get an error message: "System.Directory: openBinaryFile: does not exist (No
such file or directory)". ??

Thanks, Vasya

On Nov 21, 2007 6:08 PM, Ian Lynagh <igloo at earth.li> wrote:

> On Wed, Nov 21, 2007 at 05:46:35PM -0600, Galchin Vasili wrote:
> >
> >       I am reading through
> > http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html in
> > particular the description of the boot libraries. I don't see how I can
> > display function signatures from compiled code (i.e. .hi). ???
>
> I'm not sure I understand your question, nor am I sure which bit of the
> users guide you are looking at - can you tell us the section number
> please?
>
> Is
>
>    ghc --show-iface Foo.hi
>
> what you want? Or
>
>    :t Data.List.length
>
> from inside ghci?
>
>
> Thanks
> Ian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071121/4eb23fba/attachment.htm


More information about the Haskell-Cafe mailing list