first line of the pipe() “flashcard” should read h(g(f(x))) surely?
bat020
1

Nope, I purposely of maintained f(g(h(x))) in both illustrations of compose() and pipe().

This was to demonstrate that compose() orders the function names similar to the mathematical notation: Left ← Right.

Whereas pipe() is the opposite: its order of function names is the reverse of the mathematical notation: Left → Right

Basically I wanted to show how compose() and pipe() compare to the “original” math notation.

I appreciate your concern, though! To me, that means I should make my illustrations more obvious. If my illustration seemed like a mistake, then that’s a fault on my part. 👍

Like what you read? Give Anton Paras a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.