mostly-adequate-guide
mostly-adequate-guide copied to clipboard
Suggestion for a Practice exercise for Chapter 06: Example Application
One practice exercise that I thought of, was after the reader has written the composed function of medialUrls
, is to get him/her to display the array of URLs to the console.
Below is a snippet of code of the solution of the exercise:
const displayUrls = compose(Impure.getJSON(compose(Impure.trace('image links'), mediaUrls)), url)
displayUrls('cats')