[Haskell-beginners] ghc prelude home

Ben Gamari ben at smart-cactus.org
Sun Dec 28 19:40:26 UTC 2014


Yitzchak Gale <gale at sefer.org> writes:

> Doug McIlroy wrote:
>>>> Where can I find the full ghc prelude?
>>>> In the local installation I was able to find only .hi files,
>>>> not .hs.
>
> I wrote:
>>> Even if base "lives in the GHC tree", can't base be uploaded to
>>> hackage in a way that intentionally fails to install via cabal, with
>>> an informative message? That way, at least the haddocks can be
>>> available on hackage, and if we're lucky perhaps even the source.
>
> Karl Voelker wrote:
>> It seems to me that it is already there:
>> http://hackage.haskell.org/package/base
>> It even has working source code links.
>
> Well, that does answer Doug's original question. For now,
> if Doug is still using GHC 7.8.3. But the 7.10 series is
> out now, and it seems from what Ben and Brandon are
> saying that the practice of uploading GHC-bundled
> libraries such as base to hackage has now ended.
> 
Well, I didn't mean to impl that. I just meant that source-wise base is
certainly not a free-standing package (and hasn't been for some
time). Despite this, there is no reason (that I know of) why the
documentation couldn't be uploaded to Hackage.

Cheers,

- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141228/3446af89/attachment.sig>


More information about the Beginners mailing list