VocabularykernelInputsOutputsWord descriptionCalls
quot on
x and
y and either keeps
x and
y or replaces them with
f.
ExamplesTrue case:
USING: kernel math prettyprint ;
3 4 [ + odd? ] 2guard [ . ] bi@
3
4
False case:
USING: kernel math prettyprint ;
3 4 [ + even? ] 2guard [ . ] bi@
f
f
See also1check,
1guard,
2check,
3check,
3guardDefinition