You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@willbasky If we go with the flexible approach, then we can't implement validation at all. But if we decide to constrain version to a single version then we can add validation logic, we already wrote validation of PVP versions in policeman.
Do you consider "stack without cabal" case?
It's both. Either Stack-only or Cabal+Stack. When stack is enabled, all Stack-related files (like stack.yaml) are added. But custom preludes might not be in the chosen Stackage snaphshot.
So it will look like this:
And in the
.cabal
file you'll haverelude ^>= 0.6.0.0
Open questions
stack
? Always add toextra-deps
or just ignore it?Alternatives
Allow arbitrary text in the
version
, so users can write something like:or
The text was updated successfully, but these errors were encountered: