This issue is still annoying me; any chance it could be addressed? > On May 18, 2019, at 14:03, Rich Morin <r.d.mo...@gmail.com> wrote: > > ... 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.
> On May 19, 2019, at 10:57, José Valim <jose.va...@plataformatec.com.br> wrote: > > Yup, I thought about warn or building something on top of it, but nothing > came out of it (yet). -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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/AB1BF653-D5D9-4B28-9950-3F8A8999F699%40cfcl.com.