How can I use Effect/fp-ts types to define a function similar to pipe/flow? - Effect Community