Alex_Dovhal:

> One idea about UFCS - mark UFCS argument with @, @_, or _ symbol,
> e.g. you have some function:

Maybe it's better to save the @ prefix for a more important purpose: to tag 
reference/pointer types that can't be null.


>     [3,2,5,3].cycle().stride(2).take(10);
> would be written as this:
>     [3,2,5,3].cycle(@_).stride(2, @_).take(10, @_);

To solve such problems Haskell uses the $ operator (and the "." operator). What 
about adding the same *binary* operator to D?

Bye,
bearophile

Reply via email to