haskell / haskell/cabal

`transformCaret*` function typos

Open
#11,490 2 comments 0 reactions 0 assignees View on GitHub
type: user-question
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

The implementation of `transformCaret` is correct but the implementations of `transformCaretLower` and `transformCaretUpper` are swapped, aren't they?

https://github.com/haskell/cabal/blob/fb32f3d1c06d1731b474908e4b86559b202a3d7e/Cabal-syntax/src/Distribution/Version.hs#L164-L189

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.