Thanks Ryan,

Note though we don't have "function aliases" in Elixir and I don't think
the pros here outweighs the potential confusion of having two functions
that do exactly the same thing. :)



*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

On Thu, Aug 23, 2018 at 8:37 PM, <[email protected]> wrote:

> I keep forgetting *Map.take* because *Enum.take* is so different and I
> usually look at *Enum* docs for functions before *Map* or *List*.
>
> I think it would be nice if *Map* had *Map.only(map,keys)* and 
> *Map.except(map,
> keys)*. They could start off by just being an alias for *take* and *drop*?
>
> I guess ithe same should apply to *Keyword* as well.
>
> Thanks
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/elixir-lang-core/db2a34a3-a9c9-4e4d-98dd-
> 3ab3fbc7341d%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/db2a34a3-a9c9-4e4d-98dd-3ab3fbc7341d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KWMuwVb9nyB-ipgWPqZAu4AtmMSjEvD1qhDoFxLgkbfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to