H
Hauleth
@hauleth.dev
14 followers20 following1 posts
I was nerdsniped by PragTob to implement `defconst` for Elixir. It is a simple macro that looks like a function, but is evaluated at compile time to provide runtime constant. github.com/hauleth/defc...hex.pm/packages/def...#myelixirstatus
GitHub - hauleth/defconst: Helper macros for defining constant values in modules
Helper macros for defining constant values in modules - hauleth/defconst
H
Hauleth
@hauleth.dev
14 followers20 following1 posts