Macro Monday - Share your macros!
|
|
1
|
243
|
April 11, 2022
|
How to define Macro for a new Type?
|
|
9
|
316
|
April 6, 2022
|
How to alias a module in __using__
|
|
4
|
298
|
March 2, 2022
|
How to use quote and unquoted parameters inside a quote block?
|
|
2
|
196
|
January 4, 2022
|
Forwarding a match pattern to a custom macro
|
|
4
|
319
|
December 19, 2021
|
Utility macro for non-deterministic decisions
|
|
0
|
211
|
November 14, 2021
|
Creating a macro that forward quoted expression
|
|
3
|
231
|
September 26, 2021
|
How to load direct macro instead of input it into a function to get parameters
|
|
6
|
300
|
September 3, 2021
|
@derive in use-able module doesn't work
|
|
4
|
348
|
September 2, 2021
|
I'm bit confused with compile time and runtime evaluation
|
|
1
|
405
|
August 12, 2021
|
How to get the AST that would be generated by the given macro?
|
|
26
|
989
|
August 4, 2021
|
Using sigil_E inside of a macro
|
|
2
|
530
|
July 10, 2021
|
Use macro globally
|
|
2
|
266
|
July 7, 2021
|
How to get an AST and Macro.Env of a function by name and arity?
|
|
9
|
558
|
May 21, 2021
|
Adding more to __using__?
|
|
8
|
640
|
January 7, 2021
|
Accessing a module in the main app from a dependency
|
|
11
|
622
|
December 16, 2020
|
LiveComponent as a macro, compilation error
|
|
4
|
626
|
September 17, 2020
|
First time Elixir macro -- generate similar functions?
|
|
8
|
755
|
July 29, 2020
|
TIL: origin and meaning of quote and unquote terminology
|
|
0
|
375
|
March 27, 2020
|
Using Options in Nest Macro
|
|
1
|
413
|
January 24, 2020
|
Why is __after_compile__/2 called before __before_compile__/1?
|
|
10
|
1660
|
December 17, 2019
|
Generate a list of functions at compile-time into a module of the library
|
|
1
|
775
|
December 16, 2019
|
Dynamic operator in argument of macro function?
|
|
2
|
579
|
December 10, 2019
|
How is _before_compile_ used in the Kernel
|
|
2
|
383
|
October 10, 2019
|
Using a macro to load and report config data?
|
|
5
|
501
|
May 6, 2019
|