On the subject of `map` taking the function as template
parameter, I was surprised to see it could still be used with
functions determined at runtime, even closures, etc. I am trying
to understand the mechanism behind it.
The commented out line causes the error that `choice(funcs)`
cannot be
On Fri, Jan 05, 2024 at 08:41:53PM +, Noé Falzon via Digitalmars-d-learn
wrote:
> On the subject of `map` taking the function as template parameter, I
> was surprised to see it could still be used with functions determined
> at runtime, even closures, etc. I am trying to understand the
> mecha
On Friday, 5 January 2024 at 05:22:54 UTC, Mike Shah wrote:
On Thursday, 4 January 2024 at 14:17:01 UTC, pizza_dox_
wrote:
On Monday, 14 December 2015 at 10:09:29 UTC, Mike McKee wrote:
I finally managed to get it working, using some help from
this forum and stackoverflow.com, and a little