<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 4:19 AM, Juha Manninen <span dir="ltr"><<a href="mailto:juha.manninen62@gmail.com" target="_blank">juha.manninen62@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":112">For example, if someone is developing a competing generics library,<br>
could he be advised to improve fcl-stl instead? Would patches be accepted?<br></div></blockquote><div> </div></div></div><div class="gmail_extra">Hi there.<br><br></div><div class="gmail_extra">I have been working on a few generic types here:<br>
<br> <a href="https://github.com/tangentstorm/xpl/blob/master/code/ll.pas">https://github.com/tangentstorm/xpl/blob/master/code/ll.pas</a><br> { linked list / ring with generic cursor type + for/in support }<br><br> <a href="https://github.com/tangentstorm/xpl/blob/master/code/stacks.pas">https://github.com/tangentstorm/xpl/blob/master/code/stacks.pas</a> <br>
{ simple stack<t> with some forth-like methods }<br><br> <a href="https://github.com/tangentstorm/xpl/blob/master/code/di.pas">https://github.com/tangentstorm/xpl/blob/master/code/di.pas</a> <br> { very simple dictionary type (string keys only at the moment) } <br>
<br></div><div class="gmail_extra">You probably wouldn't want my code as-is because I don't use the Delphi conventions, but I might be able to run it through a filter to adapt it.<br><br></div><div class="gmail_extra">
I had been thinking about considered refactoring the fundamentals library to use generics too at some point:<br><br> <a href="http://fundementals.sourceforge.net/index.htm">http://fundementals.sourceforge.net/index.htm</a><br>
<br></div><div class="gmail_extra">I actually didn't know about fcl-stl . I'm willing to work on it, and to contribute my code, but the license is a problem for me.<br>If the original authors were willing to dual-license under MIT and LGPL+SLE I'd be happy to do the same, and to generate<br>
a version that followed the Borland coding conventions.<br><br>( Not sure what that would mean for the fundamentals idea, but perhaps it wouldn't be necessary anymore. )<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
( tangentstorm on #fpc )<br></div><div class="gmail_extra"> <br></div></div>