effect
effect copied to clipboard
Function.flip should supporting flipping curried functions
Is your feature request related to a problem? Please describe.
flip from @effect-ts/core/Function should preserve the currying nature of the Effect-TS API.
Describe the solution you'd like
If TS can express a flip that would be able to accurately flip both curried and non-curried functions then great.
If not, and thus we need a separation between a flip for curried and a flip for non-curried, then, I suggest that flip be the curried one and another new flip be introduced like flipUncurried or flipNoCurry.
Given Effect-TS is curried by default in its APIs, the flip it ships with should respect and be consistent with that, I think.
Describe alternatives you've considered None
Additional context https://discord.com/channels/795981131316985866/795983589644304396/949779407025872896