Re: Correct parsers for bounded integral values

Tom Smeding <[email protected]> Sun, 20 Jul 2025 14:18:13 +0200
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <[email protected]>
On 20/07/2025 12:43, Stefan Klinger wrote:
> Tom Smeding (2025-Jul-13, excerpt):
>> It is implemented in terms of a ReadP parser.
> Tom, thanks for pointing me to [4].  Yes, that looks feasible.  How
> would I go about modifying the `base` library?  Sorry if that's a
> stupid question, but I don't know where to start, `base` just always
> happened to be there already.  I.e., could someone please help me to
> get a simple setup (my usual modus operandi is the shell, cabal, and
> an editor) where the base library is accessible for modification and
> testing?

I have never done this and others likely have more specific advice here. 
Base lives inside the GHC repository here [1]; there are general GHC 
development instructions here [2]. For specific advice and to what 
extent you really need to rebuild GHC in order to test a modified 
'base', I redirect you to the ghc-devs mailing list [3] and the GHC 
matrix room [4].

[1]: https://gitlab.haskell.org/ghc/ghc/-/tree/master/libraries/base
[2]: https://ghc.dev/
[3]: https://mail.haskell.org/mailman/listinfo/ghc-devs
[4]: https://matrix.to/#/#GHC:matrix.org

- Tom
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.