Yeah, I was expecting that response but thought I'd ask anyway on the small chance my dreams would come true 🤣.
On Thursday, August 23, 2018 at 11:39:44 AM UTC-7, José Valim wrote: > > 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] <javascript:>> > 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] <javascript:>. >> 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/60544767-e67e-4dc9-8ca2-725e59391a0b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
