semver 0.2.0 → 0.2.1
raw patch · 2 files changed
+1/−8 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- semver.cabal +1/−1
- src/Data/SemVer.hs +0/−7
semver.cabal view
@@ -1,5 +1,5 @@ name: semver-version: 0.2.0+version: 0.2.1 synopsis: Representation, manipulation, and de/serialisation of Semantic Versions. homepage: https://github.com/brendanhay/semver license: OtherLicense
src/Data/SemVer.hs view
@@ -25,14 +25,12 @@ , version , initial -- ** Lenses- -- $lenses , versionMajor , versionMinor , versionPatch , versionRelease , versionMeta -- ** Incrementing- -- $incrementing , incrementMajor , incrementMinor , incrementPatch@@ -186,11 +184,6 @@ `seq` rnf _versionPatch `seq` rnf _versionRelease `seq` rnf _versionMeta---- $lenses------ Something about using lenses to construct versions and increments to update--- the version components due to the modification of all version according to spec -- | Lens for the major version component. versionMajor :: Functor f => (Int -> f Int) -> Version -> f Version