Documentation ¶
Overview ¶
The purpose of this exercise is to test how to compose a function based on what input you give to the function composer. Here we have two functions:
- One who simulates the writing to a channel
- One who simulates the writing to the console
We then have a newOutput channel who will take what kind of output we want as input, and return a new function based on the kind that was chosen.
The new function is then executed, and should give the correct output based on what output kind that was chosen.
Click to show internal directories.
Click to hide internal directories.