equals

Compares two setoids for equality.

Signature

equals(setoidLeft, setoidRight)
forall S, a:
  (S a, S a) => Boolean
where S is Setoid

Documentation

Compares two setoids for equality.

Properties

Convenience

curried()

Compares two setoids for equality.

infix(aSetoid)

Compares two setoids for equality.

Experimental

Source Code

Defined in source/fantasy-land/equals.js at line 31, column 0
(setoidLeft, setoidRight) =>
  isNew(setoidLeft) ?  setoidLeft[flEquals](setoidRight)
: isOld(setoidLeft) ?  warn(setoidLeft.equals(setoidRight))
: /*otherwise*/        unsupported(setoidLeft)
Stability
stable
Licence
MIT
Module
folktale/fantasy-land/equals
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • @boris-marinov
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)