Timeline for Why doesn't vimscript provide a random number generator?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 19, 2020 at 16:38 | comment | added | Luc Hermitte | Ah. I knew I did not invent all my solutions. ^^' Back to you question, things are added by people that need such features. If nobody is motivated enough to introduce a random generator in Vim, well... We won't have it. Same thing with reduce(), find_if() , tsort(), zip() ... | |
| Oct 19, 2020 at 15:32 | comment | added | statox | Thanks for your answer Luc. My question was really about why didn't Vim provided a random number generator function but we also have How to generate random numbers? which would benefit from your portable function :) | |
| Oct 19, 2020 at 14:01 | history | answered | Luc Hermitte | CC BY-SA 4.0 |