Often during development I find myself adding a lot of IO.inspect everywhere to understand what the type checker is doing, and removing them again. Maybe it would be good to add a debug mode, possibly by using the elixir logger. It could log on :info or :debug level and add a short comment to every function call.
Often during development I find myself adding a lot of IO.inspect everywhere to understand what the type checker is doing, and removing them again. Maybe it would be good to add a debug mode, possibly by using the elixir logger. It could log on
:infoor:debuglevel and add a short comment to every function call.