3 ms·
"fac n = product [1..n]" is still something I use at times. It's a beautiful line of code.
by Vosporos 3y ago
"fac n = product [1..n]" is still something I use at times. It's a beautiful line of code.
- quchen 3y agoPlus it fuses the list creation and consumption, there is no list in the compiled program.