[Haskell-cafe] Problem linking against Data.Graph

Andy Gimblett A.M.Gimblett at swansea.ac.uk
Fri Jul 15 14:13:53 EDT 2005


On Fri, Jul 15, 2005 at 10:42:11AM -0700, Josh Hoyt wrote:
>
> I'm pretty new myself, but I ran into a similar problem using a
> different library. The problem is that some parts of the library are
> hidden by default, and you have to tell ghc to include them. To
> solve your immediate problem, add "-package fgl" to your compilation
> line.

*slaps forehead*

Of course!  I remember reading this now, but I had forgotten about it.
And I've already come across this requirement in the past with Parsec,
so I really should have thought of it...

Many thanks for your help!

-Andy

-- 
Andy Gimblett
Computer Science Department
University of Wales Swansea
http://www.cs.swan.ac.uk/~csandy/


More information about the Haskell-Cafe mailing list