How does the function 'iota' get its name?

Steven Schveighoffer schveiguy at gmail.com
Sun Feb 12 19:39:49 UTC 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


More information about the Digitalmars-d-learn mailing list