PHP Interface Widmogrod\FantasyLand\Monoid

Inheritance: extends Widmogrod\FantasyLand\Semigroup
Afficher le fichier Open project: widmogrod/php-functional Interface Usage Examples

Méthodes publiques

Méthode Description
getEmpty ( ) : Widmogrod\FantasyLand\Monoid Return identity element for given Semigroup
mempty ( ) : Widmogrod\FantasyLand\Monoid

Method Details

getEmpty() public méthode

Return identity element for given Semigroup
public getEmpty ( ) : Widmogrod\FantasyLand\Monoid
Résultat Widmogrod\FantasyLand\Monoid

mempty() public static méthode

public static mempty ( ) : Widmogrod\FantasyLand\Monoid
Résultat Widmogrod\FantasyLand\Monoid