ITADN
首页
AIGC
博客文章
GIT库
资源下载
C龙虾
程序订做
联系我们
purescript-contrib/purescript-book
/
Issues
Chapter 11 - sumArrayWriter
#472
Open
mkohlhaas
创建于 2024-11-13
M
mkohlhaas
commented
No-peek solution is too convoluted. Alternative solution: ```PureScript sumArrayWriter ∷ Array Int → Writer (Additive Int) Unit sumArrayWriter = traverse_ (\n → tell $ Additive n) ```
0 条评论