There are some Erlang constructs I would want to use inside Elixir code. One is Erlang list comprehensions.
My general question is whether there is some way to 'drop down' to writing Erlang code while coding in Elixir (sort of the way you see people embed C in Ruby or TCL or whatever). My specific question (related to the general) is whether it is possible for me to somehow get Erlang-style list comprehensions while coding in Elixir.
If this isn't possible with plain Elixir, perhaps it can be done through a macro (possibly difficult?)? I do understand that I can just write an Erlang module and call it from Elixir, but that's not quite what I'm looking for.