Nested Pipes Code Style

Im a noob, but the effect docs give Image 1 as a nested piping example. It suggests solving it with "do notation", but I feel you can de-nest it with param drilling like in Image 2? That way you get to keep using pipes without that difficult binding syntax?

https://effect.website/docs/guides/style/do#using-plain-pipe
image_1.png
image_2.png
Effect Documentation
Simplify nested code with Do simulation and generators.
Was this page helpful?