• Aedis
    link
    fedilink
    212 days ago

    I’m waiting for a code golf style solution now.

    • @balsoft@lemmy.ml
      link
      fedilink
      211 days ago

      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.