arrow-kt / arrow-kt/arrow

["Request"] Partial function application "invoke" no longer available

Open
#2,693 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
6.6k
Forks
472
Avg merge
3d 49m
Merged PRs (30d)
4

Description

What version are you currently using?
Arrow Core 1.0.1

What would you like to see?
It looks like when the new git repository was made. partials.kt's invoke function was not brought over. I can't find an explanation as to why. So, I am not sure if this was an oversight or an intention choice. I am trying to do the same thing that https://github.com/arrow-kt/arrow/issues/814 was trying to do. The proposed solution is no longer available though as of https://github.com/arrow-kt/arrow/commit/1cd9a90ade7300dde98a7499fa5cbbc60ee514f6#diff-c32792a648907577ba1b8c6f75dd29ceef90404be1348a501f8f136ef9e8681b. Was this on purpose? How do you partially apply multiple arguments besides just doing `partial1(..)` multiple times?

Contributor guide

Open the contributing guide

Research direction

Start by inspecting partials.kt and the current partial1 entry point, then compare the removed invoke function with issue 814 and commit 1cd9a90ade7300dde98a7499fa5cbbc60ee514f6. Clarify whether multi-argument partial application should be restored or intentionally replaced; done means the intended API behavior is agreed and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.