Dialyzer specs: 2 in 1
Implementation of defs is_forty_two(n: integer) :: boolean do … end
syntax to generate both @spec
and the respective def
clauses in 20 lines.
https://rocket-science.ru/hacking/2019/12/17/dialyzer-specs-2-in-1
Read next Elixir Wizards S3E4: Justin Schneck and Frank Hunleth on Nerves and Performance