infix

Returns the identity object for a monoid.

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

infix()
forall M, a:
  (M).() => M a
where M is Monoid

Documentation

Returns the identity object for a monoid.

Properties

Source Code

function() {
  return empty(this);
}
Stability
experimental
Licence
MIT
Module
folktale/fantasy-land/empty
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)