concat

Joins two semigroups.

Signature

concat(semigroupLeft, semigroupRight)
forall S, a:
  (S a, S a) => S a
where S is Semigroup

Documentation

Joins two semigroups.

Properties

Convenience

curried()

Joins two semigroups.

infix(aSemigroup)

Joins two semigroups.

Experimental

Source Code

Defined in source/fantasy-land/concat.js at line 30, column 0
(semigroupLeft, semigroupRight) =>
  isNewSemigroup(semigroupLeft) ?  semigroupLeft[flConcat](semigroupRight)
: isOldSemigroup(semigroupLeft) ?  warn(semigroupLeft.concat(semigroupRight))
: /*otherwise*/                    unsupported(semigroupLeft)
Stability
stable
Licence
MIT
Module
folktale/fantasy-land/concat
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • @boris-marinov
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)