emmanueltouzery / prelude-ts

Functional programming, immutable collections and FP constructs for typescript and javascript
ISC License
377 stars 21 forks source link

Tuple2 equality is broken #58

Closed jorge-fernandes closed 2 years ago

jorge-fernandes commented 2 years ago

Tuple2.of(0, "").equals(Tuple2.of(0, "")) yields false

I'm on version 1.0.2

emmanueltouzery commented 2 years ago

well that is embarrassing. Good catch and I hope you didn't spend too much time tracking this one down... I fixed it now, and published a new version of the library on npm, 1.0.4! Thank you for reporting.