selfrefactor / rambdax

Extended version of Rambda
https://selfrefactor.github.io/rambdax
MIT License
221 stars 26 forks source link

R.partial types and implementation are in conflict #94

Closed tanneremerson closed 11 months ago

tanneremerson commented 11 months ago
> R=require('rambdax')

> function foo(a,b,c) {
  console.log('args:', a,b,c)
}

> R.partial(foo, [1,2])
[Function (anonymous)]

> R.partial(foo, [1,2])(3)
[Function (anonymous)]

> R.partial(foo, [1,2])(3,4)
args: [ 1, 2 ] 3 4
undefined

I think the same issue that was fixed here exists in rambdax.

https://github.com/selfrefactor/rambda/pull/701

selfrefactor commented 11 months ago

Yes, I think it is related because I delayed Rambdax release for too long. I will keep the issue open until release is made. Thanks for opening it up. I will release Rambdax once new version of Rambda is completed

selfrefactor commented 11 months ago

It is fixed now with latest release