Yup, I thought about warn or building something on top of it, but nothing came out of it (yet).
*José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D On Sun, May 19, 2019 at 7:23 PM Rich Morin <[email protected]> wrote: > On ElixirForum, LostKobrakai pointed out that: > > > You can also disable warnings on the callers side: > > https://hexdocs.pm/elixir/Kernel.SpecialForms.html#import/2-warnings 4 > > So, my proposed syntax: > > import Common, > maybe: [ ii: 2 ], > only: [ str_list: 1 ] > > could be replaced by: > > import Common, > only: [ ii: 2, str_list: 1 ], > warn: false > > However, this is less explicit and precise, because it doesn't specify > _which_ functions should be checked for usage. > > -r > > -- > 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/57B3CC59-F236-42EF-9109-366D25895640%40gmail.com > . > 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/CAGnRm4%2B6O_oDgndS5QZ-J_KvFRmtogSTQotQCJmH49qdUyspPw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
