[Haskell-cafe] On Haskell IDEs

JP Moresmau jpmoresmau at gmail.com
Tue Mar 11 15:40:54 UTC 2014


Ben, https://ghc.haskell.org/trac/ghc/ticket/8244 is what you're referring
to, I think.

JP


On Tue, Mar 11, 2014 at 4:34 PM, Ben Gamari <bgamari.foss at gmail.com> wrote:

> Maxim Kulkin <maxim.kulkin at gmail.com> writes:
>
> > ghc package depends on exact version of Cabal pacakge. I understand why
> old
> > package depends on some other old package. I just don't understand why
> GHC
> > depends on Cabal.
> >
> I believe GHC uses a few types from Cabal. Namely InstalledPackageInfo
> and a few related types,
>
>     $ git grep 'import Distribution' compiler
>     compiler/ghci/Linker.lhs:import Distribution.Package hiding (depends,
> PackageId)
>     compiler/main/Finder.lhs:import Distribution.Text
>     compiler/main/Finder.lhs:import Distribution.Package hiding (PackageId)
>     compiler/main/PackageConfig.hs:import Distribution.InstalledPackageInfo
>     compiler/main/PackageConfig.hs:import Distribution.ModuleName
>     compiler/main/PackageConfig.hs:import Distribution.Package hiding
> (PackageId)
>     compiler/main/PackageConfig.hs:import Distribution.Text
>     compiler/main/PackageConfig.hs:import Distribution.Version
>     compiler/main/Packages.lhs:import Distribution.InstalledPackageInfo
>     compiler/main/Packages.lhs:import
> Distribution.InstalledPackageInfo.Binary
>     compiler/main/Packages.lhs:import Distribution.Package hiding
> (PackageId,depends)
>
> At one point I believe there was a proposal to move these to a separate
> package but I don't have a reference on hand.
>
> Cheers,
>
> - Ben
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>


-- 
JP Moresmau
http://jpmoresmau.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140311/8fbefe7a/attachment.html>


More information about the Haskell-Cafe mailing list