One discussion is about inclusion in core (settled), and a different discussion is about semantics.
The point of invert is: when you as a programmer know the mapping is a bijection, and you need boths directions, you know invert is well-defined and can use it (present in some languages). If the mapping is not a bijection, you as a programmer know invert probably doesn’t make sense, it is undefined behaviour, or whatever. The former has uses cases (I have used it), the latter probably not or rare. -- 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%3DYcdhyzGC2XOWxP8KD_wKn-Bv_H7SXjJ%3Dz_3ELEbgjBWqFAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.