#37. Is 0

Note

Following documentation is a cooperative result combined from our Discord chat. Thanks to everyone who helped!

Image

This image was produced from the thirty-seventh radio transmission using previously contributed code.

Interpretation

Function if0 compares the first argument to 0 and picks the second argument if equal, else third.

Decoded

if0
ap ap ap if0 0 x0 x1   =   x0
ap ap ap if0 1 x0 x1   =   x1