Thanks for the clarifications.  I certainly don't want to introduce a
"strong backwards incompatible change", but that may not be required.
The basic problem, IMHO, is that there's no convenient and trouble-free
way to do an optional import.

Given that import/2 already has the :except and :only keys, how about
adding a :maybe key, to be used as follows:

import Common,
  maybe: [ ii: 2 ],
  only:  [ str_list: 1 ]

The :maybe functions would be made available, but wouldn't generate a
warning message if they aren't used.

-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/68A2B4FE-BA9A-477E-B87C-0EFF404694BA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to