
Most libraries end up on your system when you use them. You can find them
if you installed via stack, by just typing find ~/.stack -name '*tar*'
However base is special. It is distributed with ghc and if you were to
build ghc from source it would take hours, so it and its primary libraries
are distributed in already compiled form, so you'll have to look at the ghc
source code to see those libraries.
On Wed, Feb 26, 2020 at 4:57 AM Francisco Garau
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
wrote: 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
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners