Li-Fan Chen
says to
YSITD
先定一個函數 R(s,a,v) = s[a:=v]