IterTools broken?

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

IterTools broken?

sledorze
Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

Franco Ponticelli
yes, here has been removed ... you can emulate it this way

public inline static function here(?pos : haxe.PosInfos) return pos

On Wed, Sep 7, 2011 at 5:19 PM, sledorze <[hidden email]> wrote:
Hi!
Trying Hydrax, I stumbled upon a compilation issue with IterTools and
ArrayTools..

an instance of the error:

       public static function skip (itr:Iterator , count:Int):Iterator {
               if (count < 0 ){
                       throw('initialization error for ' + here.methodName); << Unknown
identifier : here
                       return null;
               }
               for (i in 0...count){
                       if (!itr.hasNext()) return itr;
                       itr.next();
               }
               return itr;
       }

Looking at the documentation, (here:
http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
provided..

So is this a compiler regression, is 'here' deprecated?

Thanks,
Stephane


--
View this message in context: http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

sledorze
Ok, thanks for letting me know!


On Wed, Sep 7, 2011 at 6:28 PM, Franco Ponticelli [via Haxe] <[hidden email]> wrote:
yes, here has been removed ... you can emulate it this way

public inline static function here(?pos : haxe.PosInfos) return pos

On Wed, Sep 7, 2011 at 5:19 PM, sledorze <[hidden email]> wrote:
Hi!
Trying Hydrax, I stumbled upon a compilation issue with IterTools and
ArrayTools..

an instance of the error:

       public static function skip (itr:Iterator , count:Int):Iterator {
               if (count < 0 ){
                       throw('initialization error for ' + here.methodName); << Unknown
identifier : here
                       return null;
               }
               for (i in 0...count){
                       if (!itr.hasNext()) return itr;
                       itr.next();
               }
               return itr;
       }

Looking at the documentation, (here:
http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
provided..

So is this a compiler regression, is 'here' deprecated?

Thanks,
Stephane


--
View this message in context: http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


If you reply to this email, your message will be added to the discussion below:
http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768479.html
To unsubscribe from IterTools broken?, click here.



--
Stéphane Le Dorze


Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

Dion Whitehead Amago
In reply to this post by sledorze
IterTools and ArrayTools dependencies have been removed in the
repository release of hydrax.  The haxelib version will soon catch up.

On Wed, Sep 7, 2011 at 11:19 AM, sledorze <[hidden email]> wrote:

> Hi!
> Trying Hydrax, I stumbled upon a compilation issue with IterTools and
> ArrayTools..
>
> an instance of the error:
>
>        public static function skip (itr:Iterator , count:Int):Iterator {
>                if (count < 0 ){
>                        throw('initialization error for ' + here.methodName); << Unknown
> identifier : here
>                        return null;
>                }
>                for (i in 0...count){
>                        if (!itr.hasNext()) return itr;
>                        itr.next();
>                }
>                return itr;
>        }
>
> Looking at the documentation, (here:
> http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
> provided..
>
> So is this a compiler regression, is 'here' deprecated?
>
> Thanks,
> Stephane
>
>
> --
> View this message in context: http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
> Sent from the Haxe mailing list archive at Nabble.com.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

sledorze
repository release.. where is it? (github master?)

On Wed, Sep 7, 2011 at 6:34 PM, Dion Whitehead Amago [via Haxe] <[hidden email]> wrote:
IterTools and ArrayTools dependencies have been removed in the
repository release of hydrax.  The haxelib version will soon catch up.

On Wed, Sep 7, 2011 at 11:19 AM, sledorze <[hidden email]> wrote:

> Hi!
> Trying Hydrax, I stumbled upon a compilation issue with IterTools and
> ArrayTools..
>
> an instance of the error:
>
>        public static function skip (itr:Iterator , count:Int):Iterator {
>                if (count < 0 ){
>                        throw('initialization error for ' + here.methodName); << Unknown
> identifier : here
>                        return null;
>                }
>                for (i in 0...count){
>                        if (!itr.hasNext()) return itr;
>                        itr.next();
>                }
>                return itr;
>        }
>
> Looking at the documentation, (here:
> http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
> provided..
>
> So is this a compiler regression, is 'here' deprecated?
>
> Thanks,
> Stephane
>
>
> --
> View this message in context: http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
> Sent from the Haxe mailing list archive at Nabble.com.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>

--
haXe - an open source web programming language
http://haxe.org



If you reply to this email, your message will be added to the discussion below:
http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768501.html
To unsubscribe from IterTools broken?, click here.



--
Stéphane Le Dorze


Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

Dion Whitehead Amago
The haxelib entry has the repo url:
https://github.com/dionjwa/Hydrax


On Wed, Sep 7, 2011 at 11:56 AM, sledorze <[hidden email]> wrote:

> repository release.. where is it? (github master?)
> On Wed, Sep 7, 2011 at 6:34 PM, Dion Whitehead Amago [via Haxe] <[hidden
> email]> wrote:
>>
>> IterTools and ArrayTools dependencies have been removed in the
>> repository release of hydrax.  The haxelib version will soon catch up.
>>
>> On Wed, Sep 7, 2011 at 11:19 AM, sledorze <[hidden email]> wrote:
>> > Hi!
>> > Trying Hydrax, I stumbled upon a compilation issue with IterTools and
>> > ArrayTools..
>> >
>> > an instance of the error:
>> >
>> >        public static function skip (itr:Iterator , count:Int):Iterator {
>> >                if (count < 0 ){
>> >                        throw('initialization error for ' +
>> > here.methodName); << Unknown
>> > identifier : here
>> >                        return null;
>> >                }
>> >                for (i in 0...count){
>> >                        if (!itr.hasNext()) return itr;
>> >                        itr.next();
>> >                }
>> >                return itr;
>> >        }
>> >
>> > Looking at the documentation, (here:
>> > http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
>> > provided..
>> >
>> > So is this a compiler regression, is 'here' deprecated?
>> >
>> > Thanks,
>> > Stephane
>> >
>> >
>> > --
>> > View this message in context:
>> > http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
>> > Sent from the Haxe mailing list archive at Nabble.com.
>> >
>> > --
>> > haXe - an open source web programming language
>> > http://haxe.org
>> >
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768501.html
>> To unsubscribe from IterTools broken?, click here.
>
>
> --
> Stéphane Le Dorze
> http://lambdabrella.blogspot.com/
> http://www.linkedin.com/in/stephaneledorze
> http://twitter.com/stephaneledorze
> Tel: +33 (0) 6 08  76 70 15
>
>
> ________________________________
> View this message in context: Re: IterTools broken?
> Sent from the Haxe mailing list archive at Nabble.com.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

sledorze
I know it :)
but the modifications are not in there.. (I've checked) so was wondering where is the 'repository release'.

On Wed, Sep 7, 2011 at 8:30 PM, Dion Whitehead Amago [via Haxe] <[hidden email]> wrote:
The haxelib entry has the repo url:
https://github.com/dionjwa/Hydrax



On Wed, Sep 7, 2011 at 11:56 AM, sledorze <[hidden email]> wrote:

> repository release.. where is it? (github master?)
> On Wed, Sep 7, 2011 at 6:34 PM, Dion Whitehead Amago [via Haxe] <[hidden

> email]> wrote:
>>
>> IterTools and ArrayTools dependencies have been removed in the
>> repository release of hydrax.  The haxelib version will soon catch up.
>>
>> On Wed, Sep 7, 2011 at 11:19 AM, sledorze <[hidden email]> wrote:
>> > Hi!
>> > Trying Hydrax, I stumbled upon a compilation issue with IterTools and
>> > ArrayTools..
>> >
>> > an instance of the error:
>> >
>> >        public static function skip (itr:Iterator , count:Int):Iterator {
>> >                if (count < 0 ){
>> >                        throw('initialization error for ' +
>> > here.methodName); << Unknown
>> > identifier : here
>> >                        return null;
>> >                }
>> >                for (i in 0...count){
>> >                        if (!itr.hasNext()) return itr;
>> >                        itr.next();
>> >                }
>> >                return itr;
>> >        }
>> >
>> > Looking at the documentation, (here:
>> > http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
>> > provided..
>> >
>> > So is this a compiler regression, is 'here' deprecated?
>> >
>> > Thanks,
>> > Stephane
>> >
>> >
>> > --
>> > View this message in context:
>> > http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
>> > Sent from the Haxe mailing list archive at Nabble.com.

>> >
>> > --
>> > haXe - an open source web programming language
>> > http://haxe.org
>> >
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768501.html
>> To unsubscribe from IterTools broken?, click here.
>
>
> --
> Stéphane Le Dorze
> http://lambdabrella.blogspot.com/
> http://www.linkedin.com/in/stephaneledorze
> http://twitter.com/stephaneledorze
> Tel: <a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015" value="+33608767015" target="_blank">+33 (0) 6 08  76 70 15
>
>
> ________________________________
> View this message in context: Re: IterTools broken?
> Sent from the Haxe mailing list archive at Nabble.com.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>

--
haXe - an open source web programming language
http://haxe.org



If you reply to this email, your message will be added to the discussion below:
http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6769041.html
To unsubscribe from IterTools broken?, click here.



--
Stéphane Le Dorze


Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

Dion Whitehead Amago
You are right.  The github repo is now updated.

On Wed, Sep 7, 2011 at 1:35 PM, sledorze <[hidden email]> wrote:

> I know it :)
> but the modifications are not in there.. (I've checked) so was wondering
> where is the 'repository release'.
> On Wed, Sep 7, 2011 at 8:30 PM, Dion Whitehead Amago [via Haxe] <[hidden
> email]> wrote:
>>
>> The haxelib entry has the repo url:
>> https://github.com/dionjwa/Hydrax
>>
>>
>> On Wed, Sep 7, 2011 at 11:56 AM, sledorze <[hidden email]> wrote:
>> > repository release.. where is it? (github master?)
>> > On Wed, Sep 7, 2011 at 6:34 PM, Dion Whitehead Amago [via Haxe] <[hidden
>> > email]> wrote:
>> >>
>> >> IterTools and ArrayTools dependencies have been removed in the
>> >> repository release of hydrax.  The haxelib version will soon catch up.
>> >>
>> >> On Wed, Sep 7, 2011 at 11:19 AM, sledorze <[hidden email]> wrote:
>> >> > Hi!
>> >> > Trying Hydrax, I stumbled upon a compilation issue with IterTools and
>> >> > ArrayTools..
>> >> >
>> >> > an instance of the error:
>> >> >
>> >> >        public static function skip (itr:Iterator ,
>> >> > count:Int):Iterator {
>> >> >                if (count < 0 ){
>> >> >                        throw('initialization error for ' +
>> >> > here.methodName); << Unknown
>> >> > identifier : here
>> >> >                        return null;
>> >> >                }
>> >> >                for (i in 0...count){
>> >> >                        if (!itr.hasNext()) return itr;
>> >> >                        itr.next();
>> >> >                }
>> >> >                return itr;
>> >> >        }
>> >> >
>> >> > Looking at the documentation, (here:
>> >> > http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
>> >> > provided..
>> >> >
>> >> > So is this a compiler regression, is 'here' deprecated?
>> >> >
>> >> > Thanks,
>> >> > Stephane
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >> > http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
>> >> > Sent from the Haxe mailing list archive at Nabble.com.
>> >> >
>> >> > --
>> >> > haXe - an open source web programming language
>> >> > http://haxe.org
>> >> >
>> >> --
>> >> haXe - an open source web programming language
>> >> http://haxe.org
>> >>
>> >>
>> >> ________________________________
>> >> If you reply to this email, your message will be added to the
>> >> discussion
>> >> below:
>> >>
>> >> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768501.html
>> >> To unsubscribe from IterTools broken?, click here.
>> >
>> >
>> > --
>> > Stéphane Le Dorze
>> > http://lambdabrella.blogspot.com/
>> > http://www.linkedin.com/in/stephaneledorze
>> > http://twitter.com/stephaneledorze
>> > Tel: <a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015"
>> > value="+33608767015" target="_blank">+33 (0) 6 08  76 70 15
>> >
>> >
>> > ________________________________
>> > View this message in context: Re: IterTools broken?
>> > Sent from the Haxe mailing list archive at Nabble.com.
>> >
>> > --
>> > haXe - an open source web programming language
>> > http://haxe.org
>> >
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6769041.html
>> To unsubscribe from IterTools broken?, click here.
>
>
> --
> Stéphane Le Dorze
> http://lambdabrella.blogspot.com/
> http://www.linkedin.com/in/stephaneledorze
> http://twitter.com/stephaneledorze
> Tel: +33 (0) 6 08  76 70 15
>
>
> ________________________________
> View this message in context: Re: IterTools broken?
> Sent from the Haxe mailing list archive at Nabble.com.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

sledorze
:) thanks!

On Wed, Sep 7, 2011 at 9:48 PM, Dion Whitehead Amago [via Haxe] <[hidden email]> wrote:
You are right.  The github repo is now updated.

On Wed, Sep 7, 2011 at 1:35 PM, sledorze <[hidden email]> wrote:

> I know it :)
> but the modifications are not in there.. (I've checked) so was wondering
> where is the 'repository release'.
> On Wed, Sep 7, 2011 at 8:30 PM, Dion Whitehead Amago [via Haxe] <[hidden

> email]> wrote:
>>
>> The haxelib entry has the repo url:
>> https://github.com/dionjwa/Hydrax
>>
>>
>> On Wed, Sep 7, 2011 at 11:56 AM, sledorze <[hidden email]> wrote:
>> > repository release.. where is it? (github master?)
>> > On Wed, Sep 7, 2011 at 6:34 PM, Dion Whitehead Amago [via Haxe] <[hidden
>> > email]> wrote:
>> >>
>> >> IterTools and ArrayTools dependencies have been removed in the
>> >> repository release of hydrax.  The haxelib version will soon catch up.
>> >>
>> >> On Wed, Sep 7, 2011 at 11:19 AM, sledorze <[hidden email]> wrote:
>> >> > Hi!
>> >> > Trying Hydrax, I stumbled upon a compilation issue with IterTools and
>> >> > ArrayTools..
>> >> >
>> >> > an instance of the error:
>> >> >
>> >> >        public static function skip (itr:Iterator ,
>> >> > count:Int):Iterator {
>> >> >                if (count < 0 ){
>> >> >                        throw('initialization error for ' +
>> >> > here.methodName); << Unknown
>> >> > identifier : here
>> >> >                        return null;
>> >> >                }
>> >> >                for (i in 0...count){
>> >> >                        if (!itr.hasNext()) return itr;
>> >> >                        itr.next();
>> >> >                }
>> >> >                return itr;
>> >> >        }
>> >> >
>> >> > Looking at the documentation, (here:
>> >> > http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
>> >> > provided..
>> >> >
>> >> > So is this a compiler regression, is 'here' deprecated?
>> >> >
>> >> > Thanks,
>> >> > Stephane
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >> > http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
>> >> > Sent from the Haxe mailing list archive at Nabble.com.

>> >> >
>> >> > --
>> >> > haXe - an open source web programming language
>> >> > http://haxe.org
>> >> >
>> >> --
>> >> haXe - an open source web programming language
>> >> http://haxe.org
>> >>
>> >>
>> >> ________________________________
>> >> If you reply to this email, your message will be added to the
>> >> discussion
>> >> below:
>> >>
>> >> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768501.html
>> >> To unsubscribe from IterTools broken?, click here.
>> >
>> >
>> > --
>> > Stéphane Le Dorze
>> > http://lambdabrella.blogspot.com/
>> > http://www.linkedin.com/in/stephaneledorze
>> > http://twitter.com/stephaneledorze
>> > Tel: <a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015"
>> > value="<a href="tel:%2B33608767015" value="+33608767015" target="_blank">+33608767015" target="_blank"><a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015" value="+33608767015" target="_blank">+33 (0) 6 08  76 70 15
>> >

>> >
>> > ________________________________
>> > View this message in context: Re: IterTools broken?
>> > Sent from the Haxe mailing list archive at Nabble.com.
>> >
>> > --
>> > haXe - an open source web programming language
>> > http://haxe.org
>> >
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6769041.html
>> To unsubscribe from IterTools broken?, click here.
>
>
> --
> Stéphane Le Dorze
> http://lambdabrella.blogspot.com/
> http://www.linkedin.com/in/stephaneledorze
> http://twitter.com/stephaneledorze

> Tel: <a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015" value="+33608767015" target="_blank">+33 (0) 6 08  76 70 15
>
>
> ________________________________
> View this message in context: Re: IterTools broken?
> Sent from the Haxe mailing list archive at Nabble.com.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
--
haXe - an open source web programming language
http://haxe.org



If you reply to this email, your message will be added to the discussion below:
http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6769301.html
To unsubscribe from IterTools broken?, click here.



--
Stéphane Le Dorze


Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

sledorze
In reply to this post by Dion Whitehead Amago
Should I use the 1.2.4 or the trunk?

On Wed, Sep 7, 2011 at 9:48 PM, Dion Whitehead Amago [via Haxe] <[hidden email]> wrote:
You are right.  The github repo is now updated.

On Wed, Sep 7, 2011 at 1:35 PM, sledorze <[hidden email]> wrote:

> I know it :)
> but the modifications are not in there.. (I've checked) so was wondering
> where is the 'repository release'.
> On Wed, Sep 7, 2011 at 8:30 PM, Dion Whitehead Amago [via Haxe] <[hidden

> email]> wrote:
>>
>> The haxelib entry has the repo url:
>> https://github.com/dionjwa/Hydrax
>>
>>
>> On Wed, Sep 7, 2011 at 11:56 AM, sledorze <[hidden email]> wrote:
>> > repository release.. where is it? (github master?)
>> > On Wed, Sep 7, 2011 at 6:34 PM, Dion Whitehead Amago [via Haxe] <[hidden
>> > email]> wrote:
>> >>
>> >> IterTools and ArrayTools dependencies have been removed in the
>> >> repository release of hydrax.  The haxelib version will soon catch up.
>> >>
>> >> On Wed, Sep 7, 2011 at 11:19 AM, sledorze <[hidden email]> wrote:
>> >> > Hi!
>> >> > Trying Hydrax, I stumbled upon a compilation issue with IterTools and
>> >> > ArrayTools..
>> >> >
>> >> > an instance of the error:
>> >> >
>> >> >        public static function skip (itr:Iterator ,
>> >> > count:Int):Iterator {
>> >> >                if (count < 0 ){
>> >> >                        throw('initialization error for ' +
>> >> > here.methodName); << Unknown
>> >> > identifier : here
>> >> >                        return null;
>> >> >                }
>> >> >                for (i in 0...count){
>> >> >                        if (!itr.hasNext()) return itr;
>> >> >                        itr.next();
>> >> >                }
>> >> >                return itr;
>> >> >        }
>> >> >
>> >> > Looking at the documentation, (here:
>> >> > http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
>> >> > provided..
>> >> >
>> >> > So is this a compiler regression, is 'here' deprecated?
>> >> >
>> >> > Thanks,
>> >> > Stephane
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >> > http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
>> >> > Sent from the Haxe mailing list archive at Nabble.com.

>> >> >
>> >> > --
>> >> > haXe - an open source web programming language
>> >> > http://haxe.org
>> >> >
>> >> --
>> >> haXe - an open source web programming language
>> >> http://haxe.org
>> >>
>> >>
>> >> ________________________________
>> >> If you reply to this email, your message will be added to the
>> >> discussion
>> >> below:
>> >>
>> >> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768501.html
>> >> To unsubscribe from IterTools broken?, click here.
>> >
>> >
>> > --
>> > Stéphane Le Dorze
>> > http://lambdabrella.blogspot.com/
>> > http://www.linkedin.com/in/stephaneledorze
>> > http://twitter.com/stephaneledorze
>> > Tel: <a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015"
>> > value="<a href="tel:%2B33608767015" value="+33608767015" target="_blank">+33608767015" target="_blank"><a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015" value="+33608767015" target="_blank">+33 (0) 6 08  76 70 15
>> >

>> >
>> > ________________________________
>> > View this message in context: Re: IterTools broken?
>> > Sent from the Haxe mailing list archive at Nabble.com.
>> >
>> > --
>> > haXe - an open source web programming language
>> > http://haxe.org
>> >
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6769041.html
>> To unsubscribe from IterTools broken?, click here.
>
>
> --
> Stéphane Le Dorze
> http://lambdabrella.blogspot.com/
> http://www.linkedin.com/in/stephaneledorze
> http://twitter.com/stephaneledorze

> Tel: <a href="tel:%2B33%20%280%29%206%2008%20%C2%A076%2070%2015" value="+33608767015" target="_blank">+33 (0) 6 08  76 70 15
>
>
> ________________________________
> View this message in context: Re: IterTools broken?
> Sent from the Haxe mailing list archive at Nabble.com.
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
--
haXe - an open source web programming language
http://haxe.org



If you reply to this email, your message will be added to the discussion below:
http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6769301.html
To unsubscribe from IterTools broken?, click here.



--
Stéphane Le Dorze


Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

Justin Donaldson-3
In reply to this post by sledorze
Sorry for letting these two libs fall out of date.  I'll try to patch them soon.

But first, a question... is it better to have small single class libs like IterTools, ArrayTools, etc., or would folks prefer a single lib that contains everything?  I felt like in the former case, it was difficult to browse for certain features, or to understand exactly what a library was about on haxelib.  Perhaps now with tags this isn't the case.

Best,
-Justin


On Wed, Sep 7, 2011 at 9:19 AM, sledorze <[hidden email]> wrote:
Hi!
Trying Hydrax, I stumbled upon a compilation issue with IterTools and
ArrayTools..

an instance of the error:

       public static function skip (itr:Iterator , count:Int):Iterator {
               if (count < 0 ){
                       throw('initialization error for ' + here.methodName); << Unknown
identifier : here
                       return null;
               }
               for (i in 0...count){
                       if (!itr.hasNext()) return itr;
                       itr.next();
               }
               return itr;
       }

Looking at the documentation, (here:
http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
provided..

So is this a compiler regression, is 'here' deprecated?

Thanks,
Stephane


--
View this message in context: http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

sledorze
Mmmm.. up to now, I've mostly only used Stax extensions for this kind of job.
So can't elaborate much on the downside of your approach (See how I don't buy my own potential extrapolations.. :) ).

On Wed, Sep 7, 2011 at 11:32 PM, Justin Donaldson-3 [via Haxe] <[hidden email]> wrote:
Sorry for letting these two libs fall out of date.  I'll try to patch them soon.

But first, a question... is it better to have small single class libs like IterTools, ArrayTools, etc., or would folks prefer a single lib that contains everything?  I felt like in the former case, it was difficult to browse for certain features, or to understand exactly what a library was about on haxelib.  Perhaps now with tags this isn't the case.

Best,
-Justin



On Wed, Sep 7, 2011 at 9:19 AM, sledorze <[hidden email]> wrote:
Hi!
Trying Hydrax, I stumbled upon a compilation issue with IterTools and
ArrayTools..

an instance of the error:

       public static function skip (itr:Iterator , count:Int):Iterator {
               if (count < 0 ){
                       throw('initialization error for ' + here.methodName); << Unknown
identifier : here
                       return null;
               }
               for (i in 0...count){
                       if (!itr.hasNext()) return itr;
                       itr.next();
               }
               return itr;
       }

Looking at the documentation, (here:
http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
provided..

So is this a compiler regression, is 'here' deprecated?

Thanks,
Stephane


--
View this message in context: http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


If you reply to this email, your message will be added to the discussion below:
http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6769540.html
To unsubscribe from IterTools broken?, click here.



--
Stéphane Le Dorze


Reply | Threaded
Open this post in threaded view
|

Re: IterTools broken?

Justin Donaldson-3
In reply to this post by Justin Donaldson-3
Oh, and to clarify/correct:

I felt like it was difficult to browse for certain features/datastructures/methods in a single monolithic library.

On Wed, Sep 7, 2011 at 2:31 PM, Justin Donaldson <[hidden email]> wrote:
Sorry for letting these two libs fall out of date.  I'll try to patch them soon.

But first, a question... is it better to have small single class libs like IterTools, ArrayTools, etc., or would folks prefer a single lib that contains everything?  I felt like in the former case, it was difficult to browse for certain features, or to understand exactly what a library was about on haxelib.  Perhaps now with tags this isn't the case.

Best,
-Justin



On Wed, Sep 7, 2011 at 9:19 AM, sledorze <[hidden email]> wrote:
Hi!
Trying Hydrax, I stumbled upon a compilation issue with IterTools and
ArrayTools..

an instance of the error:

       public static function skip (itr:Iterator , count:Int):Iterator {
               if (count < 0 ){
                       throw('initialization error for ' + here.methodName); << Unknown
identifier : here
                       return null;
               }
               for (i in 0...count){
                       if (!itr.hasNext()) return itr;
                       itr.next();
               }
               return itr;
       }

Looking at the documentation, (here:
http://haxe.org/doc/cross/trace?lang=fr), it looks like it should be
provided..

So is this a compiler regression, is 'here' deprecated?

Thanks,
Stephane


--
View this message in context: http://haxe.1354130.n2.nabble.com/IterTools-broken-tp6768429p6768429.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org



--
haXe - an open source web programming language
http://haxe.org