Ticket #418 (closed enhancement: duplicate)

Opened 4 years ago

Last modified 17 months ago

'cabal check' should warn about open lower bounds

Reported by: Saizan Owned by:
Priority: normal Milestone:
Component: cabal-install tool Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: easy (<4 hours)
GHC Version: 6.10.1 Platform:

Description

Dependencies of the form "foo > x" don't really make sense given the hackage version policy, since they exclude x but include x.y which is supposed to have a similar api, and if you want something introduced in a minor (or lesser) release you can explicitly mention that.

Also what is often intended with that notation is foo >= (x+1), causing confusion.

I propose that we allow only closed lower bounds, i.e. foo >= x.

Change History

Changed 4 years ago by duncan

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #395

Changed 17 months ago by elga

Note: See TracTickets for help on using tickets.