Preparing search index...
The search index is not available
Houston Common Library
Houston Common Library
@45drives/houston-common-lib
monet
IO
Interface IO<T>
IO
interface
IO
<
T
>
{
@@type
:
string
;
ap
<
V
>
(
ioFn
:
monet
.
IO
<
(
(
v
:
T
)
=>
V
)
>
)
:
monet
.
IO
<
V
>
;
apTo
<
V
>
(
value
:
monet
.
IO
<
V
>
)
:
T
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
IO
<
ReturnType
<
T
<
T
>
>
>
:
never
;
bind
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
)
:
monet
.
IO
<
V
>
;
chain
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
)
:
monet
.
IO
<
V
>
;
fantasy-land/ap
?
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
T
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
;
fantasy-land/chain
?
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Chain
<
V
>
)
)
:
monet
.
Chain
<
V
>
;
fantasy-land/map
?
<
V
>
(
fn
:
(
(
val
:
T
)
=>
V
)
)
:
monet
.
Functor
<
V
>
;
flatMap
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
)
:
monet
.
IO
<
V
>
;
join
<
V
>
(
)
:
monet
.
IO
<
V
>
;
map
<
V
>
(
fn
:
(
(
v
:
T
)
=>
V
)
)
:
monet
.
IO
<
V
>
;
perform
(
)
:
T
;
performUnsafeIO
(
)
:
T
;
run
(
)
:
T
;
takeLeft
<
X
>
(
m
:
monet
.
IO
<
X
>
)
:
monet
.
IO
<
T
>
;
takeRight
<
V
>
(
m
:
monet
.
IO
<
V
>
)
:
monet
.
IO
<
V
>
;
}
Type Parameters
T
Hierarchy-Diagram
Legend
interface
public method
Hierarchy (
view full
)
monet
.
IMonad
<
T
>
IO
Index
Properties
@@type
Methods
ap
ap
To
bind
chain
fantasy-
land/ap?
fantasy-
land/chain?
fantasy-
land/map?
flat
Map
join
map
perform
perform
UnsafeIO
run
take
Left
take
Right
Properties
@@type
@@type
:
string
Methods
ap
ap
<
V
>
(
ioFn
:
monet
.
IO
<
(
(
v
:
T
)
=>
V
)
>
)
:
monet
.
IO
<
V
>
Type Parameters
V
Parameters
ioFn
:
monet
.
IO
<
(
(
v
:
T
)
=>
V
)
>
Returns
monet
.
IO
<
V
>
ap
To
ap
To
<
V
>
(
value
:
monet
.
IO
<
V
>
)
:
T
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
IO
<
ReturnType
<
T
<
T
>
>
>
:
never
Type Parameters
V
Parameters
value
:
monet
.
IO
<
V
>
Returns
T
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
IO
<
ReturnType
<
T
<
T
>
>
>
:
never
bind
bind
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
)
:
monet
.
IO
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
(
val
:
T
)
:
monet
.
IO
<
V
>
Parameters
val
:
T
Returns
monet
.
IO
<
V
>
Returns
monet
.
IO
<
V
>
chain
chain
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
)
:
monet
.
IO
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
(
val
:
T
)
:
monet
.
IO
<
V
>
Parameters
val
:
T
Returns
monet
.
IO
<
V
>
Returns
monet
.
IO
<
V
>
Optional
fantasy-
land/ap
fantasy-
land/ap
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
T
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
Type Parameters
V
Parameters
afn
:
monet
.
Applicative
<
(
(
val
:
T
)
=>
V
)
>
Returns
monet
.
Applicative
<
V
>
Optional
fantasy-
land/chain
fantasy-
land/chain
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Chain
<
V
>
)
)
:
monet
.
Chain
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
Chain
<
V
>
)
(
val
:
T
)
:
monet
.
Chain
<
V
>
Parameters
val
:
T
Returns
monet
.
Chain
<
V
>
Returns
monet
.
Chain
<
V
>
Optional
fantasy-
land/map
fantasy-
land/map
<
V
>
(
fn
:
(
(
val
:
T
)
=>
V
)
)
:
monet
.
Functor
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
V
)
(
val
:
T
)
:
V
Parameters
val
:
T
Returns
V
Returns
monet
.
Functor
<
V
>
flat
Map
flat
Map
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
)
:
monet
.
IO
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
IO
<
V
>
)
(
val
:
T
)
:
monet
.
IO
<
V
>
Parameters
val
:
T
Returns
monet
.
IO
<
V
>
Returns
monet
.
IO
<
V
>
join
join
<
V
>
(
)
:
monet
.
IO
<
V
>
Type Parameters
V
Returns
monet
.
IO
<
V
>
map
map
<
V
>
(
fn
:
(
(
v
:
T
)
=>
V
)
)
:
monet
.
IO
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
v
:
T
)
=>
V
)
(
v
:
T
)
:
V
Parameters
v
:
T
Returns
V
Returns
monet
.
IO
<
V
>
perform
perform
(
)
:
T
Returns
T
perform
UnsafeIO
perform
UnsafeIO
(
)
:
T
Returns
T
run
run
(
)
:
T
Returns
T
take
Left
take
Left
<
X
>
(
m
:
monet
.
IO
<
X
>
)
:
monet
.
IO
<
T
>
Type Parameters
X
Parameters
m
:
monet
.
IO
<
X
>
Returns
monet
.
IO
<
T
>
take
Right
take
Right
<
V
>
(
m
:
monet
.
IO
<
V
>
)
:
monet
.
IO
<
V
>
Type Parameters
V
Parameters
m
:
monet
.
IO
<
V
>
Returns
monet
.
IO
<
V
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
@@type
ap
ap
To
bind
chain
fantasy-
land/ap
fantasy-
land/chain
fantasy-
land/map
flat
Map
join
map
perform
perform
UnsafeIO
run
take
Left
take
Right
Official Cockpit API Documentation
Houston Common Library
Loading...
IO