Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: COLLECTing results

From: robert:muench:robertmuench at: 28-Jul-2003 16:08

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] > On Behalf Of Gabriele Santilli > Sent: Monday, July 28, 2003 10:33 AM > To: Robert M. Muench > Subject: [REBOL] Re: COLLECTing results > Actually, this is all normal in Lisp etc. The STL is > just a complicated way to do it in a less powerful language > such as C++. ;-)
Hi, well I agree but we don't have a STL equivalent for Rebol yet. I, for long, wish that I have a standard library that I can just use plug-in in my projects. Yes, there is a lot of stuff available but not consolidated and done in a conceptual straight way. Even in the complicated C++ this works mostly perfect with STL.
> If you think about it, it is this way in REBOL too. It's just > that we can't make custom datatypes.
Not only. Do we have all those STL algorithms done in a way, that supports the generic approach of the STL? I don't think so. What I would like to have is: Foreach btree-datatype [...] Foreach skip-list [...] Etc. And that foreach uses the most efficient way to iterate. Anyway, I think Rebol has a good bunch of STL already build in. Lot of datatypes for example. But we can do better in terms of generic library functions. Robert