unlessp ( p false -- )
Random combinators
Prev:whenp ( p true -- )
Next:casep ( assoc -- quot )


Vocabulary
combinators.random

Inputs and outputs
pa number between 0 and 1
falsea quotation


Word description
Variant of ifp with no true quotation.

Definition
USING: kernel ;

IN: combinators.random

: unlessp ( p false -- ) [ [ ] ] dip ifp ; inline