Handbook
Glossary
semver>string ( semver -- string )
Vocabulary
semver
Inputs
semver
an
object
Outputs
string
an
object
Definition
USING:
accessors
combinators
combinators.smart
kernel
math.parser
sequences
;
IN:
semver
:
semver>string
( semver -- string )
[
{
[
major>>
number>string
"."
]
[
minor>>
number>string
"."
]
[
patch>>
number>string
]
[
prerelease>>
[
f
f
]
[
"-"
swap
]
if-empty
]
[
build>>
[
f
f
]
[
"+"
swap
]
if-empty
]
}
cleave
]
""
append-outputs-as
;