How to sequence/traverse `Effect<Option<Effect>>`
In my code the
findOne return Effect<Option<User>> and the validatePassword return Effect<boolean> which result the type of Effect.Effect<Option.Option<Effect.Effect<boolean, never, never>>, MongoError, never>. I want to swap the inner Option<Effect> to Effect<Option> in order to flat with the outer one. Is this possible? If it possible, how to do this?