What is iota function full name
Marco de Wild
mdwild at sogyo.nl
Fri Jun 21 20:50:35 UTC 2019
On Friday, 21 June 2019 at 19:18:02 UTC, KnightMare wrote:
> On Friday, 21 June 2019 at 12:02:10 UTC, Jonathan M Davis wrote:
>> On Friday, June 21, 2019 5:10:03 AM MDT JN via
>
>> Some folks argued a while back that iota was a terrible name
>> and that it should be changed, but it was decided not to
>> change it.
>
> auto terribleName( ... ) { }
>
> auto goodName( ... ) {
> pragma( inline, true )
> return terribleName( ... );
> }
>
> everyone is happy
Good tip. I usually make a file for these kind of aliases and
simple functions that do not end up in the standard library, eg
std.algorithm oneliners.
More information about the Digitalmars-d-learn
mailing list