com.phasmid.majabigwaduce.core.Monoid
See theMonoid companion object
Type parameters
- X
-
the type which we want to create a monoid value for. Created by scalaprof on 10/5/16.
Attributes
- Companion
-
object
- Graph
-
- Supertypes
-
trait Serializable
class Object
trait Matchable
class Any
- Known subtypes
-
Members list
This is the "op" method of a Monoid, the one that associates any two instances of the monoid type.
This is the "op" method of a Monoid, the one that associates any two instances of the monoid type.
Value parameters
- x
-
the left-hand operand
- y
-
the right-hand operand
Attributes
- Returns
-
the result of combining x and y
Method to create a zero/empty/nothing value of X
Method to create a zero/empty/nothing value of X
Attributes
- Returns
-
an X which is zero (empty, etc.)
- Inherited from:
-
Zero