3 ms·
Because you need to track and update the temporary state. Maps and folds let you define your stepping algorithm separately.
by pestaa 13y ago
Because you need to track and update the temporary state. Maps and folds let you define your stepping algorithm separately.
- kazagistar 13y agoIn python? I wasn't aware that fold did anything other then iterate in order...