haskell / haskell/cabal

Support bare wildcard constraints

Open
#4,802 5 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Cabal has long had a syntax for wildcard constraints: `foo ==1.*` desugars into `foo >=1 && <2`. I was surprised to discover (via https://github.com/sol/hpack/issues/201) that bare wildcards are not supported: `foo ==*` is a parse error. I would expect it to be the same as `>=0` (or `-any`). Is this something that could be added to Cabal?

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.