Zeitpunkt Nutzer Delta Tröts TNR Titel Version maxTL Sa 04.05.2024 00:00:09 61.806 0 3.339.819 54,0 Fosstodon 4.2.8 500 Fr 03.05.2024 00:00:07 61.806 +1 3.337.826 54,0 Fosstodon 4.2.8 500 Do 02.05.2024 00:00:08 61.805 -1 3.334.316 53,9 Fosstodon 4.2.8 500 Mi 01.05.2024 00:00:21 61.806 +2 3.331.371 53,9 Fosstodon 4.2.8 500 Di 30.04.2024 00:00:09 61.804 +2 3.328.863 53,9 Fosstodon 4.2.8 500 Mo 29.04.2024 00:00:09 61.802 +1 3.325.581 53,8 Fosstodon 4.2.8 500 So 28.04.2024 00:00:09 61.801 0 3.322.868 53,8 Fosstodon 4.2.8 500 Sa 27.04.2024 00:00:08 61.801 +4 3.319.966 53,7 Fosstodon 4.2.8 500 Fr 26.04.2024 00:00:09 61.797 +1 3.316.567 53,7 Fosstodon 4.2.8 500 Do 25.04.2024 00:00:08 61.796 0 3.313.320 53,6 Fosstodon 4.2.8 500
hauleth π΅π±β€οΈπΊπ¦ (@hauleth) · 11/2022 · Tröts: 335 · Folger: 161
Sa 04.05.2024 00:17
So 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.
https://github.com/hauleth/defconst
I have added `defonce` that will lazily evaluate code during first call as an icing on that cake.
Available on Hex as `defconstant` because of naming clash
https://hex.pm/packages/defconstant
[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 0