Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Widmogrod
Monad
Either
Right
PHP Класс Widmogrod\Monad\Either\Right
Наследование:
implements
Widmogrod\Monad\Either\Either
,
use trait
Widmogrod\Common\PointedTrait
,
use trait
Widmogrod\Common\ValueOfTrait
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод
Описание
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