logo       

RE: Text.ParserCombinators.Parsec requires -package text.: msg#00025

lang.haskell.glasgow.bugs

Subject: RE: Text.ParserCombinators.Parsec requires -package text.

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise