notes/pl/hs/haskell-fun-memoization.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

7 строки
224 B
Plaintext

Memoization:
scanl - is similar to foldl, but returns a list of successive reduced values from the left
scanr - -//- from the right
Note: usually used for monitoring the fold progress (how many el-s needs to be processed)