Macros
Metaprogramming utilities and macro libraries for code generation. Packages among the 3,000 most downloaded in the past 90 days.
-
2353.7m
-
4071.0m
-
52510.6k
-
30416.3k
-
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.
297173.0k last 90 days297173.0k -
typedstruct 0.5.4
A library for defining structs with a type without writing boilerplate code.
4873.2k last 90 days4873.2k -
1919.9k
-
1613.0k
-
4312.4k
-
18.9k
-
28.3k
-
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 ```
17.1k last 90 days17.1k -
136.7k
-
-6.4k
-
-6.1k
-
25.7k
-
253.2k
-
193.2k
-
pipe_to 0.2.1
PipeTo operator `~>` is the enhanced pipe operator which can specify the target position.
853.1k last 90 days853.1k