ITADN

Chapter 11 - sumArrayWriter

#472Openmkohlhaas 创建于 2024-11-13
M
mkohlhaascommented
No-peek solution is too convoluted. Alternative solution: ```PureScript sumArrayWriter ∷ Array Int → Writer (Additive Int) Unit sumArrayWriter = traverse_ (\n → tell $ Additive n) ```
0 条评论