| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: PIZZA time again :-)
Paul wrote:
> mAsterdam wrote:
>
>>Assume >>1. there is a meaningful (or at least consequential) >>difference between: >> >> toppings([salami, mozarella, onions]). >> and >> toppings([mozarella, onions, salami]).
So, you agree assumption 1 has value. Good.
Consider
merge(ListOfLists, MergedList).
Now
merge ([[salami, mozarella, onions][mozarella, onions, salami]], M).
should fail because salami is before mozarella in the first list, and after it in the second. It can't preserve the order.
Should
merge([[salami, buttonmushroom, mozarella, onions][salami, artichoke, mozarella]], M).
succeed with
M = [salami, buttonmushroom, artichoke, mozarella, onions] M = [salami, artichoke, buttonmushroom, mozarella, onions]
or just the first one (because of the order of the lists)? Received on Fri Sep 02 2005 - 08:56:53 CDT
![]() |
![]() |