PHP Interface Widmogrod\FantasyLand\Monoid

Inheritance: extends Widmogrod\FantasyLand\Semigroup
Exibir arquivo Open project: widmogrod/php-functional Interface Usage Examples

Public Methods

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

Method Details

getEmpty() public method

Return identity element for given Semigroup
public getEmpty ( ) : Widmogrod\FantasyLand\Monoid
return Widmogrod\FantasyLand\Monoid

mempty() public static method

public static mempty ( ) : Widmogrod\FantasyLand\Monoid
return Widmogrod\FantasyLand\Monoid