I personally prefer the clearer approach of calling "inspect" instead of an operator.
*José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D On Sun, Jul 30, 2017 at 1:17 AM, niahoo osef <ludovic.dembl...@gmail.com> wrote: > Hey, > > I would like to know what you would think about a new interpolation > mechanism that automatically calls `inspect` as the `#{}` operator calls > `to_string` ? > > Just like `raise "bad value : #!{var}"` instead of `raise "bad value : > #{inspect var}"` (The operator could be anything, I don't care) > > 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 elixir-lang-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/elixir-lang-core/7da7971b-5abb-4ed2-afb1- > 4add2b4e0dca%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/7da7971b-5abb-4ed2-afb1-4add2b4e0dca%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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KidkrNeVaMEwaAK1GExzFT7W2Eey9VvMiEh4DYUYsETw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.