def even(x): return x == 0 ? True : odd(x - 1) def odd(x): return x == 0 ? False : even(x - 1) print(even(17))
Such is the case e.g. in Erlang/BEAM.