~ chicken-core (chicken-5) 2c82d5cadfcb65cc6adada96f5cf2f8a4bad82d6


commit 2c82d5cadfcb65cc6adada96f5cf2f8a4bad82d6
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Tue Aug 3 01:08:04 2010 +0200
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Tue Aug 3 01:08:04 2010 +0200

    documented version>=?

diff --git a/manual/Extensions b/manual/Extensions
index 59900651..3936118e 100644
--- a/manual/Extensions
+++ b/manual/Extensions
@@ -277,6 +277,19 @@ extension as strings. If the setup script is not invoked via {{chicken-install}}
 then name and version will be empty.
 
 
+==== version>=?
+
+<procedure>(version>=? V1 V2)</procedure>
+
+Compares the version numbers {{V1}} and {{V2}} and returns {{#t}} if
+{{V1}} is "less" than {{V2}} or {{#f}} otherwise. A version number can
+be an integer, a floating-point number or a string. {{version>=?}}
+handles dot-separated version-indicators of the form {{"X.Y. .."}}.
+
+If one version number is the prefix of the other, then the shorter version
+is considered "less" than the longer.
+
+
 ==== installation-prefix
 
 <procedure>(installation-prefix)</procedure>
@@ -285,6 +298,7 @@ An alternative installation prefix that will be prepended to extension
 installation paths if specified. It is set by the {{-prefix}}
 option or environment variable {{CHICKEN_INSTALL_PREFIX}}.
 
+
 ==== program-path
 
 <parameter>(program-path [PATH])</parameter>
Trap