Send Beginners mailing list submissions to
        beginners@haskell.org

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
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

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


Today's Topics:

   1. Re:  Prelude source code (Doug McIlroy)


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

Message: 1
Date: Thu, 27 Feb 2020 18:53:19 -0500
From: Doug McIlroy <d...@cs.dartmouth.edu>
To: beginners@haskell.org
Subject: Re: [Haskell-beginners] Prelude source code
Message-ID: <202002272353.01rnrjk4030...@tahoe.cs.dartmouth.edu>
Content-Type: text/plain; charset=us-ascii

> Thank you. Ive 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?

One of the joys of Hugs is that it includes the H98 Prelude,
a real vade mecum for both beginners and experts.  It is one
of the reasons that for everyday use I resort more often to
Hugs than to ghci.

The modern Prelude, spread over dozens of files, and programmed
at a higher level of abstraction, will not be as useful to a
beginner as the H98 Prelude is. Nevertheless it's a valuable
and fundamental resource. And it's real code, snatches of which
one may borrow as a basis for special modification. That is
not true of stuff served up by Hoogle.

Quite properly, the ghc distribution contains a compiled
version of the Prelude. But that doesn't preclude including
the source. It would be a public service to do so.

["You can always get it with Cabal" is unreasonably
dismissive. Why should beginners have to master another arcane
subject just to get a handbook for their newest toy?]

Doug McIlroy


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

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


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

End of Beginners Digest, Vol 140, Issue 11
******************************************

Reply via email to