Comparator
a single version constraint: a comparison operator paired with
a Semver. Comparators are produced by parsing a Range; a version
satisfies a comparator when the operator holds for it under SemVer precedence.
delete
(Fn [Comparator] ())
deletes a Comparator. Should usually not be called manually.
set-op!
(Fn [(Ref Comparator a), SemverOp] ())
sets the op property of a Comparator in place.
set-ver!
(Fn [(Ref Comparator a), Semver] ())
sets the ver property of a Comparator in place.
update-op
(Fn [Comparator, (Ref (Fn [SemverOp] SemverOp a) b)] Comparator)
updates the op property of a Comparator using a function f.
update-ver
(Fn [Comparator, (Ref (Fn [Semver] Semver a) b)] Comparator)
updates the ver property of a Comparator using a function f.