Preparing search index...
The search index is not available
Houston Common Library
Houston Common Library
@45drives/houston-common-lib
monet
Free
Interface Free<A>
Free
interface
Free
<
A
>
{
@@type
:
string
;
ap
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
A
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
;
apTo
<
V
>
(
value
:
monet
.
Applicative
<
V
>
)
:
A
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
Applicative
<
ReturnType
<
A
<
A
>
>
>
:
never
;
bind
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
)
:
monet
.
Free
<
V
>
;
chain
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
)
:
monet
.
Free
<
V
>
;
fantasy-land/ap
?
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
A
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
;
fantasy-land/chain
?
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Chain
<
V
>
)
)
:
monet
.
Chain
<
V
>
;
fantasy-land/map
?
<
V
>
(
fn
:
(
(
val
:
A
)
=>
V
)
)
:
monet
.
Functor
<
V
>
;
flatMap
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
)
:
monet
.
Free
<
V
>
;
go
<
FFA
>
(
extract
:
(
(
sus
:
FFA
)
=>
monet
.
Free
<
A
>
)
)
:
A
;
join
<
V
>
(
)
:
monet
.
Free
<
V
>
;
map
<
V
>
(
fn
:
(
(
val
:
A
)
=>
V
)
)
:
monet
.
Free
<
V
>
;
resume
<
FFA
>
(
)
:
monet
.
Either
<
FFA
,
A
>
;
takeLeft
<
X
>
(
other
:
monet
.
Free
<
X
>
)
:
monet
.
Free
<
A
>
;
takeRight
<
B
>
(
other
:
monet
.
Free
<
B
>
)
:
monet
.
Free
<
B
>
;
}
Type Parameters
A
Hierarchy-Diagram
Legend
interface
public method
Hierarchy (
view full
)
monet
.
IMonad
<
A
>
Free
Index
Properties
@@type
Methods
ap
ap
To
bind
chain
fantasy-
land/ap?
fantasy-
land/chain?
fantasy-
land/map?
flat
Map
go
join
map
resume
take
Left
take
Right
Properties
@@type
@@type
:
string
Methods
ap
ap
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
A
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
Type Parameters
V
Parameters
afn
:
monet
.
Applicative
<
(
(
val
:
A
)
=>
V
)
>
Returns
monet
.
Applicative
<
V
>
ap
To
ap
To
<
V
>
(
value
:
monet
.
Applicative
<
V
>
)
:
A
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
Applicative
<
ReturnType
<
A
<
A
>
>
>
:
never
Type Parameters
V
Parameters
value
:
monet
.
Applicative
<
V
>
Returns
A
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
Applicative
<
ReturnType
<
A
<
A
>
>
>
:
never
bind
bind
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
)
:
monet
.
Free
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
(
val
:
A
)
:
monet
.
Free
<
V
>
Parameters
val
:
A
Returns
monet
.
Free
<
V
>
Returns
monet
.
Free
<
V
>
chain
chain
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
)
:
monet
.
Free
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
(
val
:
A
)
:
monet
.
Free
<
V
>
Parameters
val
:
A
Returns
monet
.
Free
<
V
>
Returns
monet
.
Free
<
V
>
Optional
fantasy-
land/ap
fantasy-
land/ap
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
A
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
Type Parameters
V
Parameters
afn
:
monet
.
Applicative
<
(
(
val
:
A
)
=>
V
)
>
Returns
monet
.
Applicative
<
V
>
Optional
fantasy-
land/chain
fantasy-
land/chain
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Chain
<
V
>
)
)
:
monet
.
Chain
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
A
)
=>
monet
.
Chain
<
V
>
)
(
val
:
A
)
:
monet
.
Chain
<
V
>
Parameters
val
:
A
Returns
monet
.
Chain
<
V
>
Returns
monet
.
Chain
<
V
>
Optional
fantasy-
land/map
fantasy-
land/map
<
V
>
(
fn
:
(
(
val
:
A
)
=>
V
)
)
:
monet
.
Functor
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
A
)
=>
V
)
(
val
:
A
)
:
V
Parameters
val
:
A
Returns
V
Returns
monet
.
Functor
<
V
>
flat
Map
flat
Map
<
V
>
(
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
)
:
monet
.
Free
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
A
)
=>
monet
.
Free
<
V
>
)
(
val
:
A
)
:
monet
.
Free
<
V
>
Parameters
val
:
A
Returns
monet
.
Free
<
V
>
Returns
monet
.
Free
<
V
>
go
go
<
FFA
>
(
extract
:
(
(
sus
:
FFA
)
=>
monet
.
Free
<
A
>
)
)
:
A
Type Parameters
FFA
Parameters
extract
:
(
(
sus
:
FFA
)
=>
monet
.
Free
<
A
>
)
(
sus
:
FFA
)
:
monet
.
Free
<
A
>
Parameters
sus
:
FFA
Returns
monet
.
Free
<
A
>
Returns
A
join
join
<
V
>
(
)
:
monet
.
Free
<
V
>
Type Parameters
V
Returns
monet
.
Free
<
V
>
map
map
<
V
>
(
fn
:
(
(
val
:
A
)
=>
V
)
)
:
monet
.
Free
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
A
)
=>
V
)
(
val
:
A
)
:
V
Parameters
val
:
A
Returns
V
Returns
monet
.
Free
<
V
>
resume
resume
<
FFA
>
(
)
:
monet
.
Either
<
FFA
,
A
>
Type Parameters
FFA
Returns
monet
.
Either
<
FFA
,
A
>
take
Left
take
Left
<
X
>
(
other
:
monet
.
Free
<
X
>
)
:
monet
.
Free
<
A
>
Type Parameters
X
Parameters
other
:
monet
.
Free
<
X
>
Returns
monet
.
Free
<
A
>
take
Right
take
Right
<
B
>
(
other
:
monet
.
Free
<
B
>
)
:
monet
.
Free
<
B
>
Type Parameters
B
Parameters
other
:
monet
.
Free
<
B
>
Returns
monet
.
Free
<
B
>
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
go
join
map
resume
take
Left
take
Right
Official Cockpit API Documentation
Houston Common Library
Loading...
Free