|
Order of execution of @on_definition, @before_compile and @after_compile
|
|
2
|
1837
|
March 25, 2021
|
|
Help in metaprogramming
|
|
0
|
618
|
March 22, 2021
|
|
Generate module functions from a list of "values" (to solve DRY)
|
|
8
|
943
|
March 1, 2021
|
|
I don't understand quote/unquote: why do we need them?
|
|
4
|
6055
|
January 21, 2021
|
|
What is the "do" in a defmacro param?
|
|
3
|
1447
|
December 27, 2020
|
|
Accessing a module in the main app from a dependency
|
|
11
|
1581
|
December 16, 2020
|
|
How to delay the compilation of a specific module
|
|
9
|
1449
|
November 16, 2020
|
|
Redex - Predictable Server Side State Containers - à la Redux for Elixir
|
|
10
|
1818
|
October 16, 2020
|
|
Injecting imports vs function definitions through `__using__/1`
|
|
4
|
824
|
September 30, 2020
|
|
How to Generate Custom Types with Macros
|
|
8
|
1615
|
July 24, 2020
|
|
On overriding built-ins and preventing conflicts
|
|
2
|
1177
|
July 18, 2020
|
|
Get the value of a parameter at runtime in a macro
|
|
6
|
1288
|
July 1, 2020
|
|
Passing parameters into defmacros
|
|
8
|
1801
|
June 21, 2020
|
|
A curious metaprogramming-peculiarity: `:{}`
|
|
3
|
961
|
June 21, 2020
|
|
Conditional code based on config
|
|
12
|
2278
|
May 31, 2020
|
|
Dynamically generate aliases
|
|
0
|
713
|
May 4, 2020
|
|
ParamPipe - parameterized pipe in Elixir
|
|
32
|
6130
|
April 29, 2020
|
|
Why is __after_compile__/2 called before __before_compile__/1?
|
|
10
|
3395
|
December 17, 2019
|
|
Generate a list of functions at compile-time into a module of the library
|
|
1
|
1563
|
December 16, 2019
|
|
Problem with data-driven test case generation
|
|
2
|
860
|
October 1, 2019
|
|
How to deal with code blocks in macros?
|
|
4
|
2122
|
September 16, 2019
|
|
MrBadger - Achievement tracking for Elixir
|
|
0
|
629
|
September 15, 2019
|
|
How to quote a wildcard in a pattern matching?
|
|
2
|
1938
|
August 29, 2019
|
|
Mix.exs conditional code : application or included as a dependency
|
|
7
|
1438
|
July 26, 2019
|
|
Best way to pass nested options to `use Module`
|
|
3
|
655
|
July 24, 2019
|
|
How to use macros to fetch module attributes
|
|
5
|
968
|
July 13, 2019
|
|
Getting variable by its dynamic atom name from the caller context in a macro
|
|
6
|
3772
|
June 14, 2019
|
|
Macros: accessing function args from generated code in the function body
|
|
4
|
1067
|
June 5, 2019
|
|
Where is the documentation for the AST metadata entries?
|
|
3
|
871
|
May 6, 2019
|
|
Can we store patterns for matching later?
|
|
1
|
875
|
May 5, 2019
|