How to repeat a function call?

monarch_dodra monarchdodra at gmail.com
Wed Apr 2 12:54:37 PDT 2014


On Wednesday, 2 April 2014 at 19:02:29 UTC, Simen Kjærås wrote:
> Better ideas, please?
>
> --
>   Simen

I only skimmed through your post, but have you tried taking a 
look at adjoin? Preferably, the version in head? Something like 
"adjoin!(repeat!(fun, N))" seems to natively do what you are 
asking for?

I'll re-read your post later tonight, and if I'm misunderstood, 
I'll try to provide a better solution.


More information about the Digitalmars-d-learn mailing list