Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/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. Prelude source code (Francisco Garau)
2. Re: Prelude source code (Ut Primum)
3. Re: Prelude source code (A. Vigneron)
4. Re: Prelude source code (Francisco Garau)
5. Re: Prelude source code (A. Vigneron)
6. Re: Prelude source code (Simon Jakobi)
----------------------------------------------------------------------
Message: 1
Date: Wed, 26 Feb 2020 08:36:05 +0000
From: Francisco Garau <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] Prelude source code
Message-ID:
<cakan0gewbv28nzwr+gn3tv-gaqm7c8fd5ym5sujbg59eh8b...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I want to see the source code of the Prelude. Is that available in the
standard distribution? Any hints in which directory should I be looking?
I've installed stack on OSX 10.11 with the below command
curl -sSL https://get.haskellstack.org/ | sh
Thanks,
Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20200226/3d0037b3/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 26 Feb 2020 09:48:55 +0100
From: Ut Primum <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Prelude source code
Message-ID:
<canjdmk+mwu8zfopwcvd3bywxwcu5cdkhha3idfbmokju1g4...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
If you only want to see the code, you can look here
https://hackage.haskell.org/package/base-4.12.0.0/docs/Prelude.html
Cheers,
Ut
Il mer 26 feb 2020, 09:37 Francisco Garau <[email protected]> ha
scritto:
> I want to see the source code of the Prelude. Is that available in the
> standard distribution? Any hints in which directory should I be looking?
>
> I've installed stack on OSX 10.11 with the below command
>
> curl -sSL https://get.haskellstack.org/ | sh
>
> Thanks,
> Francisco
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20200226/a22c88c9/attachment-0001.html>
------------------------------
Message: 3
Date: Wed, 26 Feb 2020 08:52:15 +0000
From: "A. Vigneron" <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Prelude source code
Message-ID:
<G0HIgpx651z_UVC_kvZbflPuBP5b4XUYYHJsZASv4W85o07RmneCJjDlef1Kx42Bf85zy_uiGgyqPEADdU088B4WKQaJk1pLzH4nIOSaTLY=@protonmail.com>
Content-Type: text/plain; charset="utf-8"
Also Hoogle is a good resource, here is the link to the[Prelude
module](https://hackage.haskell.org/package/base-4.12.0.0/docs/Prelude.html).
From there you can access the functions' source.
Cheers,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20200226/43e45235/attachment-0001.html>
------------------------------
Message: 4
Date: Wed, 26 Feb 2020 09:56:32 +0000
From: Francisco Garau <[email protected]>
To: "A. Vigneron" <[email protected]>, The Haskell-Beginners
Mailing List - Discussion of primarily beginner-level topics related
to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Prelude source code
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Thank you. I’ve also found other references online, but I want to see the one
installed locally in my system.
I come from Smalltalk where everything is accessible and modifiable.
Is the Prelude and other base modules distributed in compiled form only?
Hack age and hoogle are great but it is not clear which of the results is
giving me are immediately available or if I have to install and import a package
- Francisco
> On 26 Feb 2020, at 08:52, A. Vigneron <[email protected]> wrote:
>
> Also Hoogle is a good resource, here is the link to the Prelude module.
> From there you can access the functions' source.
>
> Cheers,
> Alex
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20200226/417240db/attachment-0001.html>
------------------------------
Message: 5
Date: Wed, 26 Feb 2020 10:11:52 +0000
From: "A. Vigneron" <[email protected]>
To: Francisco Garau <[email protected]>
Cc: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Prelude source code
Message-ID:
<5LySif98j9NbHL5N2ZKD4fWpHHPHHz_RYDZtctovX6ONppaDb_fO5IpN3MCIH4Qt07d_NLDvd__49o-GrhCMomYnCmA9g2hYHbrTuGmPaxQ=@protonmail.com>
Content-Type: text/plain; charset="utf-8"
For locally available I'm not sure how to do it but I know it exists, it was
mentioned in one of the videos I watched, I think it's [this
one](https://www.youtube.com/watch?v=QpDQhGYPqkU&list=PLxj9UAX4Em-Ij4TKwKvo-SLp-Zbv-hB4B&index=3)
but I'm not sure.
As for knowing whether it's included in the prelude or not, I usually check the
address bar on Hoogle or the header.
But there are probably more efficient ways to deal with this.
Goodluck!
Cheers,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20200226/94bd1865/attachment-0001.html>
------------------------------
Message: 6
Date: Wed, 26 Feb 2020 11:57:19 +0100
From: Simon Jakobi <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Prelude source code
Message-ID:
<cagtp2sgcy5tsr59x7m139tseslxoxcrzucfueu+jsa4xehq...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
You can find the official releases including sources at
http://downloads.haskell.org/~ghc/.
Am Mi., 26. Feb. 2020 um 10:57 Uhr schrieb Francisco Garau
<[email protected]>:
>
> Thank you. I’ve also found other references online, but I want to see the one
> installed locally in my system.
>
> I come from Smalltalk where everything is accessible and modifiable.
>
> Is the Prelude and other base modules distributed in compiled form only?
>
> Hack age and hoogle are great but it is not clear which of the results is
> giving me are immediately available or if I have to install and import a
> package
>
> - Francisco
>
>
> On 26 Feb 2020, at 08:52, A. Vigneron <[email protected]> wrote:
>
> Also Hoogle is a good resource, here is the link to the Prelude module.
> From there you can access the functions' source.
>
> Cheers,
> Alex
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 140, Issue 9
*****************************************