Re: [fpc-pascal] IntList

2010-11-04 Thread Vlado Boza
On 10/19/2010 08:28 PM, Michael Van Canneyt wrote: On Tue, 19 Oct 2010, Sven Barth wrote: Am 19.10.2010 19:54, schrieb Juha Manninen (gmail): On Tuesday 19 October 2010 19:10:39 Luiz Americo Pereira Camara wrote: Yes it's ready in fpc 240: uses Fgl; type TIntegerList = specialize

Re: [fpc-pascal] IntList

2010-11-04 Thread Michael Van Canneyt
On Wed, 3 Nov 2010, Vlado Boza wrote: On 10/19/2010 08:28 PM, Michael Van Canneyt wrote: [snip] The code is on http://code.google.com/p/stlpascal Please have a look and comment on it. I'm not a generics expert and am not in the position to judge whether this library is good or not.

Re: [fpc-pascal] IntList

2010-11-04 Thread Michael Van Canneyt
Hi, I asked around. We'd like to propose the following: - We import the code in the FPC subversion repository, in a package. - You get read/write access to the package, so you can maintain it. Subject to 2 conditions: - You use the FPC license. - Please remove all _ characters at the start of

Re: [fpc-pascal] IntList

2010-11-04 Thread Michael Van Canneyt
Sorry, This was meant to be a private message. For those interested: the idea is to have a standard set of generics definitions that implement some commonly-used templates. A kind of STL in pascal. Michael. On Thu, 4 Nov 2010, Michael Van Canneyt wrote: Hi, I asked around. We'd

Re: [fpc-pascal] IntList

2010-11-04 Thread Marco van de Voort
In our previous episode, Florian Klaempfl said: Sorry, This was meant to be a private message. For those interested: the idea is to have a standard set of generics definitions that implement some commonly-used templates. A kind of STL in pascal. You are aware of the fgl unit in

Re: [fpc-pascal] IntList

2010-11-04 Thread Florian Klaempfl
Am 04.11.2010 14:59, schrieb Marco van de Voort: In our previous episode, Florian Klaempfl said: Sorry, This was meant to be a private message. For those interested: the idea is to have a standard set of generics definitions that implement some commonly-used templates. A kind of STL in

Re: [fpc-pascal] IntList

2010-10-21 Thread Honza
2010/10/19 Brian Winfrey bwcod...@gmail.com: Take a look at http://code.google.com/p/fprb/.  I have just perused it, but it looks pretty good. I'm willing to cooperate (as free time permits) on any required FPRB/heLib review/modification process would any part(s) of the code be

Re: [fpc-pascal] IntList

2010-10-19 Thread Luiz Americo Pereira Camara
Juha Manninen (gmail) escreveu: Hi In Lazarus project jcf2 component has an IntList class which is poorly implemented. It depends on integer and pointer being the same size. I will later suggest to replace it. I have a better IntList. See:

Re: [fpc-pascal] IntList

2010-10-19 Thread Juha Manninen (gmail)
On Tuesday 19 October 2010 19:10:39 Luiz Americo Pereira Camara wrote: Yes it's ready in fpc 240: uses Fgl; type TIntegerList = specialize TFPGList Integer; Well, yes. It is almost as good as a dedicated class. It has a Sort method but you must feed the compare function for it. It

Re: [fpc-pascal] IntList

2010-10-19 Thread Sven Barth
Am 19.10.2010 19:54, schrieb Juha Manninen (gmail): On Tuesday 19 October 2010 19:10:39 Luiz Americo Pereira Camara wrote: Yes it's ready in fpc 240: uses Fgl; type TIntegerList = specialize TFPGListInteger; Well, yes. It is almost as good as a dedicated class. It has a Sort method

Re: [fpc-pascal] IntList

2010-10-19 Thread Michael Van Canneyt
On Tue, 19 Oct 2010, Sven Barth wrote: Am 19.10.2010 19:54, schrieb Juha Manninen (gmail): On Tuesday 19 October 2010 19:10:39 Luiz Americo Pereira Camara wrote: Yes it's ready in fpc 240: uses Fgl; type TIntegerList = specialize TFPGListInteger; Well, yes. It is almost as good as

Re: [fpc-pascal] IntList

2010-10-19 Thread Brian Winfrey
Take a look at http://code.google.com/p/fprb/. I have just perused it, but it looks pretty good. Brian. Currently, the FPC team is looking at an implementation of Vlado Boza us...@ksp.sk for a standard template library for inclusion in FPC. The code is on

[fpc-pascal] IntList

2010-10-18 Thread Juha Manninen (gmail)
Hi In Lazarus project jcf2 component has an IntList class which is poorly implemented. It depends on integer and pointer being the same size. I will later suggest to replace it. I have a better IntList. See: http://github.com/JuhaManninen/Pascal/blob/master/IntList/intlist.pas It is similar