trait ConcatenativeMonoid[X] extends ConcatenativeSemigroup[X] with HasEmpty[X]
Represents a concatenative monoid (i.e. monoids operating on sequences, etc. that bears the operation ++
)
- Self Type
- ConcatenativeMonoid[X]
- Since
0.2.1
- Alphabetic
- By Inheritance
- ConcatenativeMonoid
- HasEmpty
- ConcatenativeSemigroup
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
concat(x: X, y: X): X
The concatenation (
++
) operation of this semigroup.The concatenation (
++
) operation of this semigroup.- Definition Classes
- ConcatenativeSemigroup
-
abstract
def
empty: X
The empty element (concatenative identity) of this type.
The empty element (concatenative identity) of this type.
- Definition Classes
- HasEmpty
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
asIdentityWithEmpty: HasIdentity[X]
Casts this object to a
HasIdentity
with identity0
.Casts this object to a
HasIdentity
with identity0
.- Definition Classes
- HasEmpty
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asMonoidWithConcat: Monoid[X]
-
def
asSemigroupWithConcat: Semigroup[X]
Casts this structure as a symbol-agnostic semigroup.
Casts this structure as a symbol-agnostic semigroup.
- Definition Classes
- ConcatenativeSemigroup
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
concatN(x: X, n: Int): X
Computes the concatenated sequence x ++ x ++ ··· ++ x with x repeated for n times.
Computes the concatenated sequence x ++ x ++ ··· ++ x with x repeated for n times.
- Definition Classes
- ConcatenativeMonoid → ConcatenativeSemigroup
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )