Slide 69
Slide 69 text
ϜʔΞɾϚγϯ&MN"SDIJUFDUVSF
indirect enum Moore {
case runMoore(A, I -> Moore)
}
Moore
≅ (View, Action -> Moore)
≅ νX. (View, Action -> X)
// ࠷େෆಈ νX.F = ∃S. (S, (S -> F))
≅ ∃S. (S, (S -> (View, Action -> S)))
≅ ∃S. (S, S -> View, S -> Action -> S)
≅ ∃S. (initialState: S, reducer: S -> Action -> S, render: S -> View)
ϜʔΞɾϚγϯ
ೖྗʹґଘ͠ͳ͍ঢ়ଶػց
ৗʹग़ྗՄೳͳ"ͱ
ೖྗ*͔Βࣗͷঢ়ଶભҠͷ
ϖΞΛ༨ؼೲతʹఆٛͨ͠ܕ
J04%$ϓϨθϯࢀর