You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A 'compactMap'-Function would help with scenarios like transforming an array of entries to a single entry where it is not sure whether the desired specific entry is really in the array of entries.
Assume a loadable list of points of interests:
`var pois: LoableState<[POI]>
var aPOI: LoadableState {
pois.compactMap { pois in
pois.first { $0.id == poiId }
}
}
`
This scenario comes up with respect to deep linking for instance.
The text was updated successfully, but these errors were encountered:
tinora
pushed a commit
to tinora/Processed
that referenced
this issue
Feb 29, 2024
A 'compactMap'-Function would help with scenarios like transforming an array of entries to a single entry where it is not sure whether the desired specific entry is really in the array of entries.
Assume a loadable list of points of interests:
`var pois: LoableState<[POI]>
var aPOI: LoadableState {
pois.compactMap { pois in
pois.first { $0.id == poiId }
}
}
`
This scenario comes up with respect to deep linking for instance.
The text was updated successfully, but these errors were encountered: