15 lines
409 B
Text
15 lines
409 B
Text
prelude
|
||
import init.data.nat.basic init.data.string.basic
|
||
|
||
def lean.version : nat × nat × nat :=
|
||
(@LEAN_VERSION_MAJOR@, @LEAN_VERSION_MINOR@, @LEAN_VERSION_PATCH@)
|
||
|
||
def lean.githash : string :=
|
||
"@GIT_SHA1@"
|
||
|
||
def lean.is_release : bool :=
|
||
@LEAN_VERSION_IS_RELEASE@ ≠ 0
|
||
|
||
/-- Additional version description like "nightly-2018-03-11" -/
|
||
def lean.special_version_desc : string :=
|
||
"@LEAN_SPECIAL_VERSION_DESC@"
|