Continuation here, let me know if that makes sense.
The only category laws are associativity and existence of identities. The functor law does not contain any associativity.
Hmm… it seems like we’re misunderstanding each…
But would having a promise returning the function instead of plain function not lead to a some verbose code for the
Like instead of simply calling
createStream() I would have to write something like