?1+ ( x -- y )


Vocabulary
math

Inputs
xa number or f


Outputs
ya number


Word description
If the input is not f, adds one. Otherwise, outputs a 0.

Definition


: ?1+ ( x -- y ) [ 1 + ] [ 0 ] if* ; inline