in Cyborg/VectorDrawableParser.swift [32:37]
func flatMap<T>(_ function: (Wrapped) -> Result<T>) -> Result<T> {
switch self {
case .ok(let wrapped): return function(wrapped)
case .error(let error): return .error(error)
}
}