Move `MutableStateFlow.updateCopy` to arrow.optics
Open
- Dominant language
- Kotlin
- Stars
- 6.6k
- Forks
- 472
- Avg merge
- 3d 49m
- Merged PRs (30d)
- 4
Description
The extension function
```kotlin
public fun MutableStateFlow.updateCopy(block: Copy.() -> Unit)
```
is useful outside of Android's compose library. I suggest to move it from `arrow-optics-compose` to the `arrow-optics` library for those who do not use compose.
Contributor guide
Research direction
Start by locating MutableStateFlow.updateCopy in the arrow-optics-compose module and inspect the arrow-optics module's build configuration and tests. Move the extension into arrow-optics so it is available without the Compose library, then verify the existing behavior and module dependencies remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- developer-experience
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100