hemanth / functional-programming-jargon

Jargon from the functional programming world in simple terms!
http://git.io/fp-jargons
MIT License
18.59k stars 1.02k forks source link

Update readme.md #98

Closed dead-claudia closed 8 years ago

dead-claudia commented 8 years ago

Remove useless array from partial example definition

jethrolarson commented 8 years ago

If that's valid syntax then :shipit:

dead-claudia commented 8 years ago

It is. I've used it before.

// Example from Node 6.2 REPL
> let as = [1, 2], bs = [3, 4]
undefined
> ((...xs) => xs)(...as, ...bs)
[ 1, 2, 3, 4 ]