Common Lisp Package: COM.INFORMATIMAGO.COMMON-LISP.CESARUM.VERSION

This package exports functions to get and compare lisp implementation versions. License: AGPL3 Copyright Pascal J. Bourguignon 2010 - 2012 This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>

README:

FUNCTION

Public

RT-VERSION< (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string, returning either (:AND) or (:OR), for use as a read-time feature expression. #.#+(version:rt-version= "1.0" (version:version)) read-only-in-version-1.0

RT-VERSION<= (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string, returning either (:AND) or (:OR), for use as a read-time feature expression. #.#+(version:rt-version= "1.0" (version:version)) read-only-in-version-1.0

RT-VERSION= (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string, returning either (:AND) or (:OR), for use as a read-time feature expression. #.#+(version:rt-version= "1.0" (version:version)) read-only-in-version-1.0

RT-VERSION> (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string, returning either (:AND) or (:OR), for use as a read-time feature expression. #.#+(version:rt-version= "1.0" (version:version)) read-only-in-version-1.0

RT-VERSION>= (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string, returning either (:AND) or (:OR), for use as a read-time feature expression. #.#+(version:rt-version= "1.0" (version:version)) read-only-in-version-1.0

VERSION (&OPTIONAL (VERSION-STRING (LISP-IMPLEMENTATION-VERSION)))

Parse the version in the version-string or (lisp-implementation-version) This is expected to be a sequence of integers separated by dots. Return it as a list of integers.

VERSION/= (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string.

VERSION< (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string.

VERSION<= (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string.

VERSION= (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string.

VERSION> (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string.

VERSION>= (A B)

Compare versions A and B, which may be either lists of integers, or a dotted string.