Cyan Ho
1 min readMar 6, 2019

--

Nice job ! Gaining so much from this article 😃

Only one question about Curry V5, it seems not to support following usage:

curried09('Jane')(26)(true)('JJ', 'Jini') 
-> Cannot invoke an expression whose type lacks a call signature. Type 'Boolean' has no compatible call signatures

which is the case we expect to solve in Curry V1 section.

I try to do further check when Drop<Length<T>, P> doesn’t extend [any, …any[]], in this branch Drop<Length<T>, P> will produce type string[], but I find there is no way to tell if P has already been consumed based on string[], which extends […any[]] and any[] but not [].

Hope to know any thought about this, thanks a lot !

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Responses (1)

Write a response