Hi,
I stumbled upon a preview of your post you posted on twitter, containing your header image.
The line
const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res)
should be
const compose = (...fns) => res => fns.reduceRight((accum, next) => next(accum), res)
The compose utility reduces functions from right to left, otherwise, it's called a pipe 😉.
compose
pipe
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi,
I stumbled upon a preview of your post you posted on twitter, containing your header image.
The line
should be
The
compose
utility reduces functions from right to left, otherwise, it's called apipe
😉.