WhizzML Reference Manual

4.1 Utilities

4.1.1 Identity

(identity obj) \(\rightarrow \) any

The identity procedure just returns its passed argument, whatever its value.

(= (identity x) x) ;; => true (identically)

4.1.2 Versioning

It is possible to access at runtime the current WhizzML version, both as a string and as three separated integers giving its major, minor and micro components:

(version ) \(\rightarrow \) string
(version-major ) \(\rightarrow \) integer
(version-minor ) \(\rightarrow \) integer
(version-micro ) \(\rightarrow \) integer

(version) ;; => "0.16.1"
(version-major) ;; => 0
(version-minor) ;; => 16
(version-micro) ;; => 1