System.FilePath Re: ANN: HSH 1.2.0
igloo at earth.li
Tue Mar 13 20:20:34 EDT 2007
On Tue, Mar 13, 2007 at 11:36:09PM +0000, Neil Mitchell wrote:
> >No, Cabal requires that things needed by Setup.*hs files (such as the
> >FilePath module) come with all compilers. That can be done by shipping
> >the filepath package with all compilers rather than putting the module
> >into the base package.
> When last speaking to Duncan he gave me the impression that Setup.hs
> can only depend on base. If this is not the case, and we have a
> procedure for "making this a library that comes with absolutely every
> compiler", then I'm happy to create it as a filepath library,
> * There are no circumstances under which import Data.List will work,
> but import System.FilePath will not
"runhaskell", "ghc --make" and hugs would all work.
"ghc -package base -package Cabal" wouldn't, but I doubt that will trip
anyone up given it won't be in any docs (and so anyone it does trip up
probably knows how to fix it anyway).
> i.e. on parity with the base libraries. Does such a place/package exist?
You just have to convince each implementation separately to ship with
More information about the Libraries