Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Prefix scan is not embarrassingly parallel. Yet OP's statement still works when you change it to scanl (+) 0 [0 1 2 3]


That requires + to be associative. And scan is one of the core skeletons of parallel skeletons, so obviously if you express everything as parallel skeletons, parallel programming remains manageable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: