digitalmars.D.learn - How does the function 'iota' get its name?
- ccmywish (6/6) Feb 12 2023 Hi, everyone!
- Steven Schveighoffer (4/11) Feb 12 2023 It came from C++. See notes here:
- Sergey (4/16) Feb 12 2023 Which took it from APL
Hi, everyone! I'm very new to D. I see a function called [iota](https://dlang.org/library/std/range/iota.html) `Iota` seems a [Greek letter](https://en.wikipedia.org/wiki/Iota). Why does it relate to range?
Feb 12 2023
On 2/12/23 2:17 PM, ccmywish wrote:Hi, everyone! I'm very new to D. I see a function called [iota](https://dlang.org/library/std/range/iota.html) `Iota` seems a [Greek letter](https://en.wikipedia.org/wiki/Iota). Why does it relate to range?It came from C++. See notes here: https://en.cppreference.com/w/cpp/algorithm/iota -Steve
Feb 12 2023
On Sunday, 12 February 2023 at 19:39:49 UTC, Steven Schveighoffer wrote:On 2/12/23 2:17 PM, ccmywish wrote:Which took it from APL https://aplwiki.com/wiki/Index_GeneratorHi, everyone! I'm very new to D. I see a function called [iota](https://dlang.org/library/std/range/iota.html) `Iota` seems a [Greek letter](https://en.wikipedia.org/wiki/Iota). Why does it relate to range?It came from C++. See notes here: https://en.cppreference.com/w/cpp/algorithm/iota -Steve
Feb 12 2023