Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  ghc prelude home (Doug McIlroy)
   2. Re:  ghc prelude home (Brandon Allbery)
   3. Re:  ghc prelude home (Ben Gamari)
   4. Re:  ghc prelude home (Yitzchak Gale)
   5. Re:  ghc prelude home (Brandon Allbery)
   6. Re:  ghc prelude home (Yitzchak Gale)
   7. Re:  ghc prelude home (Karl Voelker)
   8. Re:  ghc prelude home (Yitzchak Gale)


----------------------------------------------------------------------

Message: 1
Date: Sun, 28 Dec 2014 09:49:51 -0500
From: Doug McIlroy <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] ghc prelude home
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Where can I find the full ghc prelude?

In the local installation I was able to find only .hi files, not .hs.

Poking around github, I found module Prelude.hs. It's a
skeleton that imports many submodules,  which I wasn't
clever enough to find.
\
Doug McIlroy


------------------------------

Message: 2
Date: Sun, 28 Dec 2014 09:53:45 -0500
From: Brandon Allbery <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] ghc prelude home
Message-ID:
        <CAKFCL4UKD+8N-5WHe57tnRt6JGhJS6X_gusTk=qtfrhrod4...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Sun, Dec 28, 2014 at 9:49 AM, Doug McIlroy <[email protected]> wrote:

> Where can I find the full ghc prelude?
>

There was at one point an intention of making the "base" package available
on Hackage, but at the moment you need the ghc source to get it.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20141228/ac93fbd6/attachment-0001.html>

------------------------------

Message: 3
Date: Sun, 28 Dec 2014 11:58:57 -0500
From: Ben Gamari <[email protected]>
To: Brandon Allbery <[email protected]>, The Haskell-Beginners
        Mailing List - Discussion of primarily beginner-level topics related
        to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] ghc prelude home
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Brandon Allbery <[email protected]> writes:

> On Sun, Dec 28, 2014 at 9:49 AM, Doug McIlroy <[email protected]> wrote:
>
>> Where can I find the full ghc prelude?
>>
>
> There was at one point an intention of making the "base" package available
> on Hackage, but at the moment you need the ghc source to get it.
>
And `base` is now living in the GHC tree itself; it no longer has its own
repository which further complicates its status as a free-standing
package. This was a conscious decision as much of `base` is quite tied
to GHC. There have been various attempts to split base up into packages
of finer granularity ([1] being the latest, as far as I know);
unfortunately they have all run into various practical issues.

Cheers,

- Ben


[1] https://www.haskell.org/pipermail/libraries/2013-July/020390.html
-------------- 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/f8f05f24/attachment-0001.sig>

------------------------------

Message: 4
Date: Sun, 28 Dec 2014 19:13:20 +0200
From: Yitzchak Gale <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] ghc prelude home
Message-ID:
        <caorualb_y8yjcbiwjsz_xj-6r_cs0e7nhnypekluceafgm5...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

>> There was at one point an intention of making the "base" package available
>> on Hackage, but at the moment you need the ghc source to get it.

So - the standard place to see the haddocks for base
isn't hackage anymore? Then, where?

Thanks,
Yitz


------------------------------

Message: 5
Date: Sun, 28 Dec 2014 12:18:42 -0500
From: Brandon Allbery <[email protected]>
To: Yitzchak Gale <[email protected]>
Cc: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] ghc prelude home
Message-ID:
        <cakfcl4vimfz+nxv0muvoyutwmkcgnewozim8ad0se-shdj6...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Sun, Dec 28, 2014 at 12:13 PM, Yitzchak Gale <[email protected]> wrote:

> So - the standard place to see the haddocks for base
> isn't hackage anymore? Then, where?
>

I typically use http://lambda.haskell.org/platform/doc/current/index.html
or https://downloads.haskell.org/~ghc/latest/docs/html/libraries/index.html
which afaik are the canonical locations.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20141228/1d1dbc55/attachment-0001.html>

------------------------------

Message: 6
Date: Sun, 28 Dec 2014 19:47:32 +0200
From: Yitzchak Gale <[email protected]>
To: Brandon Allbery <[email protected]>
Cc: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] ghc prelude home
Message-ID:
        <caorualyjdpjs1hlht7zbv9vtpedpc8pc0izac1cqzvgo4jf...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I wrote:
>> So - the standard place to see the haddocks for base
>> isn't hackage anymore? Then, where?

Brandon Allbery wrote:
> I typically use http://lambda.haskell.org/platform/doc/current/index.html or
> https://downloads.haskell.org/~ghc/latest/docs/html/libraries/index.html
> which afaik are the canonical locations.

The first links to the Haskell 2010 libraries. Those are interesting, but
I was referring to a working copy.

The second links to 7.8.3. You can also get to 7.8.4 on that site
if you poke around, but I don't see any obvious way to get the
haddocks for 7.10 there.

For me, the "canonical" place to find all haddocks is Hackage.
Won't it be inconvenient for users now to need two different bookmarks
in their browser, and to be forced to remember which packages
are bundled with GHC and which are not?

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.

Thanks,
Yitz


------------------------------

Message: 7
Date: Sun, 28 Dec 2014 10:46:00 -0800
From: Karl Voelker <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] ghc prelude home
Message-ID:
        <[email protected]>
Content-Type: text/plain

On Sun, Dec 28, 2014, at 09:47 AM, Yitzchak Gale 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.

It seems to me that it is already there:

http://hackage.haskell.org/package/base

It even has working source code links.

Maybe I am completely missing the point of this discussion?

-Karl


------------------------------

Message: 8
Date: Sun, 28 Dec 2014 21:15:56 +0200
From: Yitzchak Gale <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Cc: Doug McIlroy <[email protected]>
Subject: Re: [Haskell-beginners] ghc prelude home
Message-ID:
        <caorualazjt41ru3cstuiyei_clmd4tc70ymrx7ewel2gw5w...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

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.


------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 78, Issue 24
*****************************************

Reply via email to