On 8/23/25 7:58 AM, monkyyy wrote:

>> https://dlang.org/book/templates_more.html#ix_More%20Templates.alias,
>> %20template%20parameter
>
> why is that education material not showing the fundamental pattern of
> `(alias F,T...)(T args)=>F(args)`?

The book was written before that pattern was added to the language.

Ali

P.S. I remember some discussion on how supporting that pattern would be consistent with other parts of the language. If I agreed, I might be motivated to add it to the book as well.

Reply via email to