Handbook
Glossary
whenp ( p true -- )
Random combinators
Prev:
ifp ( p true false -- )
Next:
unlessp ( p false -- )
Vocabulary
combinators
.
random
Inputs
p
a number between 0 and 1
true
a
quotation
Outputs
None
Word description
Variant of
ifp
with no
false
quotation.
Definition
IN:
combinators.random
:
whenp
( p true -- )
[
]
ifp
;
inline