Since this is a thread with different people expressing opinions, let me chime in :).
I also lean on not adding this to Elixir. Like Andrea, I find the guard pretty clear and concise. You read it and the meaning is direct (vs odd/even, since computing a reminder or doing bitwise stuff has one level of indirection, there encapsulation may pay off). My vote goes to doing nothing :). -- Sent from Gmail Mobile -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAM%3DYcdiCqC6j9azVGHxTd%2BTuBnaPSjQURossObdKE11PcJMEUg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.