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
I'm trying to work on TS typings for FP lib Ramda. Severalusershavereportedissues that came down to similar inference issues triggered in the presence of composition/currying involving functions containing generics.
Since FP encourages composing point-free functions (the majority of which use generics for type inference), what breaks here aren't so much edge cases, but idiomatic usage.
I'm trying to work on TS typings for FP lib Ramda.
Several users have reported issues that came down to similar inference issues triggered in the presence of composition/currying involving functions containing generics.
Since FP encourages composing point-free functions (the majority of which use generics for type inference), what breaks here aren't so much edge cases, but idiomatic usage.
TypeScript Version: nightly (
2.2.0-dev.20161211
)Code (can paste into the TS playground):
Expected behavior:
identity
survives compositionidentity
not killing the type signature when composing withinc
Actual behavior:
The text was updated successfully, but these errors were encountered: