Y
Hacker News
new
|
ask
|
show
|
jobs
by
FroLeMageBlanc
994 days 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.
1 comments
epolanski
994 days ago
You 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.
link