I don't think there's much to codegolf. The "obvious" solution (even() (($1%2))) is both shorter and faster. Don't think it can be optimized much more.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments