DEV Community

Discussion on: Getting started with fp-ts: IO

Collapse
 
wojciechmatuszewski profile image
Wojciech Matuszewski

Hi there,

I'm learning fp with this library and I'm wondering, is there a way to chain 3 or more IOEithers?
It seems like chain is statically typed to only allow 2 IOEithers

Thanks

Collapse
 
mateiadrielrafael profile image
Matei Adriel

You can use pipe (frok fp-ts/pipeable)