[Haskell-cafe] Correct parsers for bounded integral values
Tom Smeding
x at tomsmeding.com
Sun Jul 20 12:18:13 UTC 2025
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
More information about the Haskell-Cafe
mailing list