Hi Marten,
You will find this PR interesting
https://github.com/elixir-lang/elixir/issues/10352
Cheers,
- Eks
On Fri, 19 Nov 2021 14:00:40 -0800 (PST)
"w...@resilia.nl" wrote:
> Hi all!
>
> I recently needed to check what fields for a struct were defined (if
> any) for a particular module, at
Hi all!
I recently needed to check what fields for a struct were defined (if any)
for a particular module, at compile-time (potentially in the body of that
module, i.e. while the module was still 'open').
*(for the curious, it's part of code that builds a runtime type-check from
a typespec, see