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.

Reply via email to