Slide 18
Slide 18 text
ʮΓʹ܁Γฦؔ͠Λద༻͢ΔʯΛؔʹͨ͠ͷ͕ GPME SFEVDF
• ؔΛద༻͢Δ͜ͱͰΛಘΔ͜ͱʹΑͬͯܭࢉΛ͢ͷ͕ɺؔܕϓϩάϥϛϯάͷߟ͑ํ
• ࠜఈʹϥϜμܭࢉ uuuࠓͦͷ͠ͳ͍
let s = foldl (+) 0 [1 .. n]
)BTLFMM
let s = [1, 2, 3, 4, 5].reduce((acc, i) => acc + i, 0)```
let s = [1, 2, 3, 4, 5].reduce((acc, i) => acc + i, 0)
5ZQF4DSJQU