Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Widmogrod
Monad
Either
Right
PHP Class Widmogrod\Monad\Either\Right
Inheritance:
implements
Widmogrod\Monad\Either\Either
,
use trait
Widmogrod\Common\PointedTrait
,
use trait
Widmogrod\Common\ValueOfTrait
ファイルを表示
Open project: widmogrod/php-functional
Class Usage Examples
Public Methods
Method
Description
ap
(
Widmogrod\FantasyLand\Apply
$b
)
bind
(
callable
$transformation
)
either
(
callable
$left
,
callable
$right
)
map
(
callable
$transformation
)
Method Details
ap()
public
method
public
ap
(
Widmogrod\FantasyLand\Apply
$b
)
$b
Widmogrod\FantasyLand\Apply
bind()
public
method
public
bind
(
callable
$transformation
)
$transformation
callable
either()
public
method
public
either
(
callable
$left
,
callable
$right
)
$left
callable
$right
callable
map()
public
method
public
map
(
callable
$transformation
)
$transformation
callable