PHP Class Widmogrod\Monad\Either\Right

Inheritance: implements Widmogrod\Monad\Either\Either, use trait Widmogrod\Common\PointedTrait, use trait Widmogrod\Common\ValueOfTrait
Afficher le fichier Open project: widmogrod/php-functional Class Usage Examples

Méthodes publiques

Méthode Description
ap ( Widmogrod\FantasyLand\Apply $b )
bind ( callable $transformation )
either ( callable $left, callable $right )
map ( callable $transformation )

Method Details

ap() public méthode

public ap ( Widmogrod\FantasyLand\Apply $b )
$b Widmogrod\FantasyLand\Apply

bind() public méthode

public bind ( callable $transformation )
$transformation callable

either() public méthode

public either ( callable $left, callable $right )
$left callable
$right callable

map() public méthode

public map ( callable $transformation )
$transformation callable