mpizenberg / elm-pubgrub

PubGrub version solving algorithm in elm
https://mpizenberg.github.io/elm-pubgrub/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Add a NoPackage incompatibility #13

Open mpizenberg opened 4 years ago

mpizenberg commented 4 years ago

Instead of having listVersions : String -> List Version we could have listVersions : String -> Maybe (List Version) showing that a package may not exist. We could add the NoPackage kind of an incompatibility, which would hold the term any.