get `stateT` first, then flatMap with a `ref` upda...
# arrow
p
get
stateT
first, then flatMap with a
ref
update with the value