Functions and modules are a bit complicated than expected. Going through the class video I realized I missed some details in Allison’s lecture. While it already took some time to understand some of the concepts, I tried to recreate my own version. I built a few practice runs based on some examples from previous weeks, this is one of them:
and here is a code run in class with a different source text.
I learned that functions and modules can be inlined with each other, and the design can be complicated.