Handling Effects in Option.map
Option.map where the result I return from the map is an effect. I usually end up doing some janky thing where I unwrap, and map the error back to an option. Here's an example with a proposed solution: https://effect.website/play#f6938d4b66b5