Can you please explain why you need to know the execution mode.
The fact a library can compile different code depending if it is compile,
test, or something else is not something we should encourage.
On Thu, Dec 9, 2021 at 8:37 PM Ivan Rublev
wrote:
> Hi folks,
> After delivering the library
Hi folks,
After delivering the library generating code from type specs, I realised
that I'm missing the explicit indication of whether the function/macro is
executed within the mix compile task, the mix test task, or interactively
(iex / live book) during the compile-time.
Here is the code to