Three semi-obscure Elixir features

I wrote about some Elixir features that are not that often useful, but I think are still good to know about: the process dictionary, handling calls to undefined functions, and Macro.decompose_call

This is in the context of explaining the guts of the Mockery package.

https://github.com/marick/mockery_extras/blob/main/how_mockery_works.md

9 Likes

Thanks for writing this up. It’s a really clear explanation of a couple of features. Even if I’ve no particular use for them right now it’s good to know they are there, in case of emergency.

:top_hat:

3 Likes