Handbook
Glossary
roll ( string -- n )
Vocabulary
dice
Inputs
string
an
object
Outputs
n
an
object
Definition
USING:
kernel
math
;
IN:
dice
:
roll
( string -- n )
parse-roll
[
random-roll
]
dip
[
+
]
when*
;