This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

amalbuquerque
Hi there, After reading @ericmj response here (Using unquote outside of quote block - #6 by ericmj) about “unquote fragments”, I still c...
New

Last Three Year's Trending Top

Trending Over Three Years Top

laiboonh
defmodule Control do defmacro my_if(expr, do: if_block, else: else_block) do quote do Control.do_my_if(unquote(expr), do: unq...
New
laiboonh
This is a code snippet from the metaprogramming elixir book. defmacro test(description, do: test_block) do test_func = String.to_ato...
New
jeffdeville
I’ve got a macro that wasn’t impacting my project compilation speed much. I added a small feature to it, and now it’s ~50x slower. But a...
New
mcgingras
Hello all, I’ve been reading about metaprogramming and encountered examples that look like the following: defmodule example(example_par...
New
dokuzbir
This code is from metaprograming elixir book. I dont understand when should use unquote. In first function there is no unqote to execute ...
New
voger
I just finished “Programming Elixir” and now I am reading “Metaprogramming Elixir”. I can’t say I comprehend everything. I try to unders...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement