Text.ParserCombinators.Parsec requires -package text.
Simon Marlow
simonmar at microsoft.com
Mon Sep 6 08:52:21 EDT 2004
On 06 September 2004 13:43, Simon Peyton-Jones wrote:
> * The link step needs -package flags, because it only gets .o files,
> and we didn't want it to start hunting through .hi files (though that
> would be possible)
Just to expand on this a little: it's not clear that we could do this
even if we wanted to. Given an arbitrary .o file, we can't tell (a) if
it is a compiled Haskell module and (b) if so, where its .hi file can be
found. We can make guesses, but there isn't a general solution.
Guessing is a bit distasteful because guaranteed there would be people
who would be confused when the guesses turned out to be wrong for their
specific situation.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list