- version-compare VER1 VER2 #!optional TAIL-ZERO?procedure
Returns a negative, zero, or positive integer representing the relative order of VER1 and VER2. Compares number & string elements natively, but in a comparison between a number & a string element, the string always takes precedence. Thus "1.a.2" < "a.1.2".
- VER1
- semantic-version ; version 1 to compare.
- VER2
- semantic-version ; version 2 to compare.
- TAIL-ZERO?
- boolean ; ignore trailing 0's?
Orders versions in the same manner as the chicken-install tool.