PHP 클래스 Widmogrod\Monad\Either\Left

상속: implements Widmogrod\Monad\Either\Either, use trait Widmogrod\Common\PointedTrait, use trait Widmogrod\Common\ValueOfTrait
파일 보기 프로젝트 열기: widmogrod/php-functional 1 사용 예제들

공개 메소드들

메소드 설명
ap ( Widmogrod\FantasyLand\Apply $b )
bind ( callable $transformation )
either ( callable $left, callable $right )
map ( callable $transformation )

메소드 상세

ap() 공개 메소드

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

bind() 공개 메소드

public bind ( callable $transformation )
$transformation callable

either() 공개 메소드

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

map() 공개 메소드

public map ( callable $transformation )
$transformation callable