Effect CommunityEC
Effect Community3y ago
7 replies
Rodrigo Auler

FP with Typescript: Effect vs Either

Hello people! I'm starting with FP with typescript, I started studying fp-ts, and when I noticed the union with Effect I started studying Effect. A very basic thing that caught my attention is that if the data type Effect<R, E, A> already handles failures and successes, what is the use case for using Either<E, A>? My olds fp-ts functions that returns Either should returns Effect now?
Was this page helpful?