final class FreeMonoid[A] extends AnyVal
- Self Type
- FreeMonoid[A]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FreeMonoid
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
run[B](f: (A) ⇒ B)(implicit B: Monoid[B]): B
Map each term to type
Band sum them usingB's Monoid. -
def
runSemigroup[B](f: (A) ⇒ B)(implicit B: Semigroup[B]): Option[B]
Map each term to type
Band sum them usingB's Semigroup, as long as there is at least 1 term.Map each term to type
Band sum them usingB's Semigroup, as long as there is at least 1 term. Otherwise, returnNone. - val terms: List[A]
-
def
toString(): String
- Definition Classes
- FreeMonoid → Any
- def |+|(rhs: FreeMonoid[A]): FreeMonoid[A]