PHP Class Widmogrod\Primitive\Listt

Inheritance: implements Widmogrod\FantasyLand\Monad, implements Widmogrod\FantasyLand\Monoid, implements Widmogrod\FantasyLand\Setoid, implements Widmogrod\FantasyLand\Foldable, implements Widmogrod\FantasyLand\Traversable, implements Widmogrod\Common\ValueOfInterface, use trait Widmogrod\Common\PointedTrait
Mostrar archivo Open project: widmogrod/php-functional Class Usage Examples

Public Methods

Method Description
__construct ( array $value )
ap ( Widmogrod\FantasyLand\Apply $applicative )
bind ( callable $transformation )
concat ( Widmogrod\FantasyLand\Semigroup $value )
equals ( $other )
extract ( )
getEmpty ( )
map ( callable $transformation )
mempty ( )
reduce ( callable $function, $accumulator )
traverse ( callable $transformation )

Method Details

__construct() public method

public __construct ( array $value )
$value array

ap() public method

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

bind() public method

public bind ( callable $transformation )
$transformation callable

concat() public method

public concat ( Widmogrod\FantasyLand\Semigroup $value )
$value Widmogrod\FantasyLand\Semigroup

equals() public method

public equals ( $other )

extract() public method

public extract ( )

getEmpty() public method

public getEmpty ( )

map() public method

public map ( callable $transformation )
$transformation callable

mempty() public static method

public static mempty ( )

reduce() public method

public reduce ( callable $function, $accumulator )
$function callable

traverse() public method

public traverse ( callable $transformation )
$transformation callable