Arrow
1.1.5
arrow-fx-stm
/
arrow.fx.stm
/
STM
/
newTVar
new
TVar
open
fun
<
A
>
newTVar
(
a
:
A
)
:
TVar
<
A
>
(
source
)
Create a new
TVar
inside a transaction, because
TVar.new
is not possible inside
STM
transactions.