[kepler-dev] Actor List order

Bertram Ludaescher ludaesch at sdsc.edu
Mon Nov 8 20:27:01 PST 2004

>>>>> "SB" == Shawn Bowers <bowers at sdsc.edu> writes:
SB> I think it is probably something that Jena is doing ... I would doubt 
SB> that it would be random.
SB> I have noticed that it isn't alphabetically loaded, and wanted to see 
SB> how to fix that, which would also probably fix the problem.

Yep, alphabetical order is a good idea (I'm sure Laura would agree --
Laura: are you subscribed already? ;-)

Apropos sorting: I couldn't resist to provide the (trivial) code for it:

qsort []     = []
qsort (x:xs) = qsort elts_lt_x ++ [x] ++ qsort elts_greq_x
                   elts_lt_x   = [y | y <- xs, y < x]
                   elts_greq_x = [y | y <- xs, y >= x]

Haskell is nice and elegant, isn't it? 
Just like Sparrow, the even smarter OWL ;-)


SB> shawn
SB> Dan Higgins wrote:
>> Shawn & Chad,
>> I noticed that if I launch Kepler multiple times, the order of actors 
>> that appear in the actor tree changes! i.e. under 'Converters' I see the 
>> actors arranged in a different order each time I restart Kepler (The 
>> order is constant for multiple windows on a single launch, but is 
>> different for multiple launches.) Is there something random here? (It is 
>> somewhat confusing!)
>> Dan
SB> _______________________________________________
SB> kepler-dev mailing list
SB> kepler-dev at ecoinformatics.org
SB> http://www.ecoinformatics.org/mailman/listinfo/kepler-dev

More information about the Kepler-dev mailing list