Skip to content

Support GHC 9.14 - #486

Merged
tomjaguarpaw merged 2 commits into
kowainik:mainfrom
tomjaguarpaw:9.14
Sep 27, 2026
Merged

tomjaguarpaw merged 2 commits into
kowainik:mainfrom
tomjaguarpaw:9.14

Conversation

@tomjaguarpaw

Copy link
Copy Markdown
Contributor

No description provided.

@tomjaguarpaw
tomjaguarpaw requested a review from vrom911 as a code owner January 9, 2026 10:03
@tomjaguarpaw

Copy link
Copy Markdown
Contributor Author

Stuck on a mmorph issue: Gabriella439/Haskell-MMorph-Library#75. I guess relude could just drop support for GHC 8.6 and 8.8.

@tomjaguarpaw

Copy link
Copy Markdown
Contributor Author

No idea what the test failures are about:

src/Relude/List/NonEmpty.hs:197: failure in expression `head [0..5 :: Int]'
expected: ...
          ... 'head' works with 'NonEmpty', not ordinary lists.
                Possible fix:
                    Replace: [Int]
                    With:    NonEmpty Int
          ...
                However, you can use 'head' with the ordinary lists.
                Apply 'viaNonEmpty' function from relude:
                    viaNonEmpty head (yourList)
                Note, that this will return 'Maybe Int'
                therefore it is a safe function unlike 'head' from the standard Prelude
          ...
 but got: <interactive>:1142:1: error: [GHC-18872]
                                ^
              • Couldn't match type ‘[]’ with ‘NonEmpty’
                  arising from a use of ‘head’
              • In the expression: head [0 .. 5 :: Int]
                In an equation for ‘it’: it = head [0 .. 5 :: Int]

I guess TypeError doesn't work in the same way in 9.14
@tomjaguarpaw

Copy link
Copy Markdown
Contributor Author

Looks like the doctests are broken on 9.14, probably because TypeError changed :(

@tomjaguarpaw
tomjaguarpaw merged commit 5557fb2 into kowainik:main Sep 27, 2026
18 checks passed
@tomjaguarpaw
tomjaguarpaw deleted the 9.14 branch September 27, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant