Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Widmogrod
Monad
Reader
PHP Class Widmogrod\Monad\Reader
Inheritance:
implements
Widmogrod\FantasyLand\Monad
,
use trait
Widmogrod\Common\PointedTrait
Show file
Open project: widmogrod/php-functional
Class Usage Examples
Public Methods
Method
Description
__construct
(
callable
$continuation
)
ap
(
Widmogrod\FantasyLand\Apply
$b
)
bind
(
callable
$function
)
map
(
callable
$function
)
runReader
(
$env
)
Method Details
__construct()
public
method
public
__construct
(
callable
$continuation
)
$continuation
callable
ap()
public
method
public
ap
(
Widmogrod\FantasyLand\Apply
$b
)
$b
Widmogrod\FantasyLand\Apply
bind()
public
method
public
bind
(
callable
$function
)
$function
callable
map()
public
method
public
map
(
callable
$function
)
$function
callable
runReader()
public
method
public
runReader
(
$env
)