equals

Compares two setoids for equality.

This feature is experimental!

This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.

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.

Experimental
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
experimental
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/)