monet/monet.js

areEqual() and equals()() functions

Closed this issue · 1 comments

Looking at the code, there are two functions defined for equality testing, areEqual and equals, which could both be uesful generally, but aren't currently exported. Perhaps they should be included in the Monet object with most of the other free functions?

These are internal implementation functions which can/would change. All Monet types extend Setoid, so you can a.equals(b) (and that is public, stable API).