```fun areRemindersEnabled(): IO<Unit, Boolean&...
# arrow
i
Copy code
fun areRemindersEnabled(): IO<Unit, Boolean> =
        storage.load<Boolean>(key)
            .mapError { Unit }
            .handleError { false }
let's go with this: I load, thing blows up with
NoValueFoundForKey
I convert it to
Unit
, then recover from the error placing
false
in
A
. how does it sound?