Latest #book-metaprogramming-elixir Threads Top

cobra
Has anyone tried exploring Metaprogramming before. I think it’s a really powerful technique. I was looking for someone who has implemente...
New
mcgingras
Hello all, I’ve been reading about metaprogramming and encountered examples that look like the following: defmodule example(example_par...
New
7stud
On p. 6, there is this example: defmodule Math do # {:+, [context: Elixir, import: Kernel], [5, 2]} defmacro say({:+, _, [lhs, rhs]...
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
amalbuquerque
Hi there, After reading @ericmj response here (Using unquote outside of quote block - #6 by ericmj) about “unquote fragments”, I still c...
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
AstonJ
Don’t forget you can get 35% off the ebook using the code ‘devtalk.com’ :023:
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
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
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

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

cobra
Has anyone tried exploring Metaprogramming before. I think it’s a really powerful technique. I was looking for someone who has implemente...
New

Trending Over Three Years Top

AstonJ
Don’t forget you can get 35% off the ebook using the code ‘devtalk.com’ :023:
New
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
7stud
On p. 6, there is this example: defmodule Math do # {:+, [context: Elixir, import: Kernel], [5, 2]} defmacro say({:+, _, [lhs, rhs]...
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