© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
sammo90
We can use the method attempt to lift the value of an IO into an Either. If the IO failed, it lifts the value as Right, otherwise into a Left:
vice versa!
My bad! Thanks. Corrected it.