These koans use Enum.member? and MapSet.member?. I only know a little Elixir, but as far as I can tell these offer no benefit over in/2 (they're the same speed and give the same results).
Similarly, MapSet.equal?/2 is used instead of ==/2, but it doesn't need to be.
Would you accept a PR that changed lines like
assert MapSet.member?(@set, 1) == ___
into
assert (1 in @set) == ___
?
Thanks for writing/maintaining these koans!
These koans use
Enum.member?andMapSet.member?. I only know a little Elixir, but as far as I can tell these offer no benefit overin/2(they're the same speed and give the same results).Similarly,
MapSet.equal?/2is used instead of==/2, but it doesn't need to be.Would you accept a PR that changed lines like
into
?
Thanks for writing/maintaining these koans!