DEV Community

Discussion on: fp-ts, sequenceT, and sweet sweet async typed FP

Collapse
 
giogonzo profile image
Giovanni Gonzaga

Isn't this just combineOptions = sequenceT(option)?

Collapse
 
ybogomolov profile image
Yuriy Bogomolov

Pretty much like it, yes. Although I should admit that sequenceT was introduced in fp-ts@2, while array.sequence works for fp-ts@1 as well.