3 ms·
The pipe function of `fp-ts` doesn’t have direct access to methods and properties of the pipe output like Verticalize. You have to wrap them into anonymous func
by FroLeMageBlanc 3y ago
The pipe function of `fp-ts` doesn’t have direct access to methods and properties of the pipe output like Verticalize. You have to wrap them into anonymous functions. Same with promises.
- epolanski 3y agoYou can always pipe( 2, double, x => x.toString() ) I love your approach too, it's really more of a pipe operator than a `pipe` function which expects the pipeline to happen on the arguments side.