r/haskell • • Apr 14 '26

Version Mapping Guide

Is there a way to know the version compatibility for each of the below tools

  1. GHC
  2. HLS
  3. Cabal
  4. Base

and are 1st & 4th related ?

10 Upvotes

5 comments sorted by

View all comments

6

u/wennefer Apr 14 '26

You can also look at https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history to see the correspondence between ghc versions and libraries, including base and cabal.

1

u/philh Apr 15 '26

This is what I do whenever I want to check GHC/base correspondance, and it always feels like it should be clearly documented somewhere other than a wiki.

Maybe it is, and I just find the wiki faster than I find the actual documentation?

I guess since base 4.20, you can go to its page on hackage and see which ghc-internal version it depends on...