Macros
Metaprogramming utilities and macro libraries for code generation. Packages among the 3,000 most downloaded in the past 90 days.
-
2353.8m
-
4071.1m
-
53647.0k
-
31477.5k
-
exconstructor 1.3.1
ExConstructor generates constructor functions for your structs, handling map-vs-keyword-list, string-vs-atom-keys, and camelCase-vs-under_score issues automatically.
297186.6k last 90 days297186.6k -
typedstruct 0.5.4
A library for defining structs with a type without writing boilerplate code.
4878.4k last 90 days4878.4k -
1626.0k
-
1924.9k
-
4315.6k
-
28.9k
-
18.6k
-
-7.1k
-
137.1k
-
27.0k
-
-6.1k
-
254.2k
-
assign_when 0.2.0
Allows the use of `when` clauses on assignment statements as an alternative to using `if`, avoiding the need for boilerplate `else` clauses which return the original variables when the condition is `false`. For instance: ```elixir x = 1 when x == nil ```
13.8k last 90 days13.8k -
pipe_to 0.2.1
PipeTo operator `~>` is the enhanced pipe operator which can specify the target position.
853.2k last 90 days853.2k