As Ben said, you can use ~w(foo bar)a.
> I know ~s is used for string right now, but I believe it's better if we > can follow the Ruby's convention where s is used for symbols and w is > q(quoted) is used for strings. > Elixir is not Ruby. Elixir doesn't have "symbols". It has atoms. Using s for symbols in Elixir does not make sense. -- 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/CAGnRm4JBk4BoQ4NDcg89qybpdK6MpTj3LAQVqBhuwZqOaCau7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
