3 ms·
In practice I feel like recursion isn't actually used that much in functional languages. Most things can be expressed as maps, flatmaps, folds, etc
by smabie 4y ago
In practice I feel like recursion isn't actually used that much in functional languages. Most things can be expressed as maps, flatmaps, folds, etc
- chaorace 4y agoIt depends on the domain. For example, recursion can be extremely useful when processing a tree of data.