Re: UFCS for classes with opCall( ... )

2013-06-05 Thread Timon Gehr
On 06/05/2013 05:11 PM, ParticlePeter wrote: http://dpaste.dzfl.pl/79c29c19 (What you want to do does not work, but the issue is not that UFCS does not work with opCall. It does.) Thanks for the insights, undfortunatelly you're right. Is this behaviour on purpose, or considered a bug ? Could

Re: UFCS for classes with opCall( ... )

2013-06-05 Thread ParticlePeter
http://dpaste.dzfl.pl/79c29c19 (What you want to do does not work, but the issue is not that UFCS does not work with opCall. It does.) Thanks for the insights, undfortunatelly you're right. Is this behaviour on purpose, or considered a bug ? Couldn't read that much out of the original disc

Re: UFCS for classes with opCall( ... )

2013-06-03 Thread Timon Gehr
On 06/03/2013 06:25 PM, ParticlePeter wrote: UFCS is working with opCall already. The reason your code does not work is that UFCS only works with module-level symbols (and with the latest release also for locally imported symbols IIRC.) What do you mean with locally import symbols, isn't tha

Re: UFCS for classes with opCall( ... )

2013-06-03 Thread ParticlePeter
UFCS is working with opCall already. The reason your code does not work is that UFCS only works with module-level symbols (and with the latest release also for locally imported symbols IIRC.) What do you mean with locally import symbols, isn't that the normal import statement ? Could you s

Re: UFCS for classes with opCall( ... )

2013-06-02 Thread Timon Gehr
On 06/01/2013 02:22 PM, ParticlePeter wrote: Hello, after watching Walters Talk about Component Programming ( link Bellow ) I was quite fond of his pipelining approach. I tried the following and had to realize that this way using UFCS isn't working ( or I do something wrong ). // I want to writ

Re: UFCS for classes with opCall( ... )

2013-06-02 Thread ParticlePeter
On Sunday, 2 June 2013 at 06:07:25 UTC, Ali Çehreli wrote: On 06/01/2013 05:22 AM, ParticlePeter wrote: > 3. If not 1. Would this be a valid feature requst ? Looks like this request: http://d.puremagic.com/issues/show_bug.cgi?id=9857 Ali Uuups, how could I have missed that when searching

Re: UFCS for classes with opCall( ... )

2013-06-02 Thread Ali Çehreli
On 06/01/2013 05:22 AM, ParticlePeter wrote: > 3. If not 1. Would this be a valid feature requst ? Looks like this request: http://d.puremagic.com/issues/show_bug.cgi?id=9857 Ali

UFCS for classes with opCall( ... )

2013-06-01 Thread ParticlePeter
Hello, after watching Walters Talk about Component Programming ( link Bellow ) I was quite fond of his pipelining approach. I tried the following and had to realize that this way using UFCS isn't working ( or I do something wrong ). // I want to write On Canvas1 | draw Shape1 | draw Shape2 |