On Fri, Jan 11, 2013 at 4:19 AM, Juha Manninen <juha.mannine...@gmail.com>wrote:
> For example, if someone is developing a competing generics library, > could he be advised to improve fcl-stl instead? Would patches be accepted? > Hi there. I have been working on a few generic types here: https://github.com/tangentstorm/xpl/blob/master/code/ll.pas { linked list / ring with generic cursor type + for/in support } https://github.com/tangentstorm/xpl/blob/master/code/stacks.pas { simple stack<t> with some forth-like methods } https://github.com/tangentstorm/xpl/blob/master/code/di.pas { very simple dictionary type (string keys only at the moment) } 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. I had been thinking about considered refactoring the fundamentals library to use generics too at some point: http://fundementals.sourceforge.net/index.htm 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. 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 a version that followed the Borland coding conventions. ( Not sure what that would mean for the fundamentals idea, but perhaps it wouldn't be necessary anymore. ) ( tangentstorm on #fpc )
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal