PHP Interface Widmogrod\FantasyLand\Traversable

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

Méthodes publiques

Méthode Description
traverse ( callable $transformation ) : Applicative traverse :: Applicative f => (a -> f b) -> f (t b)

Method Details

traverse() public méthode

Where the a is value inside of container.
public traverse ( callable $transformation ) : Applicative
$transformation callable (a -> f b)
Résultat Applicative f (t b)