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

fix: arrow function in setoid #140

Closed shfshanyue closed 7 years ago

shfshanyue commented 7 years ago

An arrow function expression does not bind its own this hence this is not array.

Expected: true false Actually: false false

hemanth commented 7 years ago

It would good if we avoiding an example where we are extending the prototype of a primitive.

jethrolarson commented 7 years ago

To avoid this we'd either have to use a type that's not array, or not follow fantasy-land

shfshanyue commented 7 years ago

Could it be merged... The axample is incorrect result after all.