(index ("version" 0) ("make-version" 44) ("version?" 471) ("version:label" 572) ("version:major" 572) ("version:minor" 572) ("version:micro" 572) ("version:patch" 572) ("version:extra" 572) ("string->version" 989) ("version->string" 1205) ("version-compare" 1348) ("version=?" 1490) ("version<?" 1490) ("version<=?" 1490) ("version>=?" 1490) ("version>?" 1490) ("version-exact?" 1839) ("version-older?" 1955) ("version-newer?" 2071) ("version-sort" 2188) ("bump:major" 2447) ("bump:minor" 2614) ("bump:micro" 2781) ("bump:patch" 2948) ("bump" 3115) ("bump:major!" 3308) ("bump:minor!" 3471) ("bump:micro!" 3634) ("bump:patch!" 3797) ("bump!" 3963))
(def (sig (record "version" (id version))))
(def (sig (procedure "(make-version MAJOR MINOR #!key (label #f) (micro #f) (patch #f) (extra #f))" (id make-version))) (p "Creates a new version record with the given components. MAJOR, MINOR, and MICRO (if given) must be exact non-negative integers. LABEL and EXTRA, if given, must be non-null strings. PATCH (if given) must be either a non-negative exact integer or a list/vector composed of non-negative exact integers."))
(def (sig (procedure " (version? OBJ)" (id version?))) (p "Returns #t if OBJ is a version record."))
(def (sig (procedure " (version:label VERSION)" (id version:label)) (procedure " (version:major VERSION)" (id version:major)) (procedure " (version:minor VERSION)" (id version:minor)) (procedure " (version:micro VERSION)" (id version:micro)) (procedure " (version:patch VERSION)" (id version:patch)) (procedure " (version:extra VERSION)" (id version:extra))) (p "Returns the specified field of the VERSION record."))
(def (sig (procedure "(string->version VERSION-STRING)" (id string->version))) (p "If VERSION-STRING is a string with valid version data, returns a version record with its parsed components. Otherwise, return #f."))
(def (sig (procedure " (version->string VERSION)" (id version->string))) (p "Returns the string representation of the given VERSION record."))
(def (sig (procedure "(version-compare VER1 VER2)" (id version-compare))) (p "Returns -1 if VER1<VER2, 0 if VER1=VER2, and 1 if VER1>VER2."))
(def (sig (procedure "(version=? VER1 VER2)" (id version=?)) (procedure "(version<? VER1 VER2)" (id version<?)) (procedure "(version<=? VER1 VER2)" (id version<=?)) (procedure "(version>=? VER1 VER2)" (id version>=?)) (procedure "(version>? VER1 VER2)" (id version>?))) (p "Comparison predicates for versions, according to the rules given above."))
(def (sig (procedure "(version-exact? VER1 VER2)" (id version-exact?))) (p "Equivalent to (version=? VER1 VER2)."))
(def (sig (procedure "(version-older? VER1 VER2)" (id version-older?))) (p "Equivalent to (version<? VER1 VER2)."))
(def (sig (procedure " (version-newer? VER1 VER2)" (id version-newer?))) (p "Equivalent to (version>? VER1 VER2)."))
(def (sig (procedure "(version-sort VERSION-LIST [ASCENDING? #t])" (id version-sort))) (p "Sorts VERSION-LIST (a list of version strings and/or records). If ASCENDING? is given and #f, VERSION-LIST is sorted in descending order. ASCENDING? defaults to #t."))
(def (sig (procedure "(bump:major VERSION #!key (to #f))" (id bump:major))) (p "Returns a version with the major-part incremented or set to " (tt "to") " if given."))
(def (sig (procedure "(bump:minor VERSION #!key (to #f))" (id bump:minor))) (p "Returns a version with the minor-part incremented or set to " (tt "to") " if given."))
(def (sig (procedure "(bump:micro VERSION #!key (to #f))" (id bump:micro))) (p "Returns a version with the micro-part incremented or set to " (tt "to") " if given."))
(def (sig (procedure "(bump:patch VERSION #!key (to #f))" (id bump:patch))) (p "Returns a version with the patch-part incremented or set to " (tt "to") " if given."))
(def (sig (procedure "(bump VERSION)" (id bump))) (p "Returns a version with the lowest possible part incremented. This procedure tries to do the right thing, and should generaly really do."))
(def (sig (procedure "(bump:major! VERSION #!key (to #f))" (id bump:major!))) (p "Increase the major-part of the version by 1 or set to " (tt "to") " if given."))
(def (sig (procedure "(bump:minor! VERSION #!key (to #f))" (id bump:minor!))) (p "Increase the minor-part of the version by 1 or set to " (tt "to") " if given."))
(def (sig (procedure "(bump:micro! VERSION #!key (to #f))" (id bump:micro!))) (p "Increase the micro-part of the version by 1 or set to " (tt "to") " if given."))
(def (sig (procedure "(bump:patch! VERSION #!key (to #f))" (id bump:patch!))) (p "Increase the last number ofthe patch-part by 1 or set to " (tt "to") " if given."))
(def (sig (procedure "(bump! VERSION)" (id bump!))) (p "Increase the lowest possible part by 1. This procedure tries to do the right thing, and should generaly really do."))
