Re: PIZZA time again :-)

From: Duncan Patton <campbell_at_neotext.ca>
Date: Sat, 03 Sep 2005 22:50:45 GMT
Message-ID: <20050903165044.49d0e978_at_babayaga.neotext.ca>


On Sat, 03 Sep 2005 12:51:29 +0200
mAsterdam <mAsterdam_at_vrijdag.org> wrote:

> Duncan Patton wrote:
> > mAsterdam wrote:
> >>Duncan Patton wrote:
> >>
> >>>mAsterdam wrote:
> >>>
> >>>>I think
> >>>>merge([[salami, buttonmushroom, buttonmushroom, mozarella],
> >>>> [salami, mozarella, onions]], M).
> >>>>
> >>>>should succeed with:
> >>>>M = [salami, buttonmushroom, buttonmushroom, mozarella, onions].
> >>>
> >>>
> >>>Sure. But why? A consistent rational needs to be included.
> >>
> >>It would be consistent with the heuristic 'don't modify input'.
> >
> >
> > Ok, then this heuristic might still have bounding conditions that
> > describe the points at which it breaks. eg, you reduce two salamis
> > to one. if the second salami had come between mozarella and cheeze...
> > the example above should mebbe have some more elements, anyways.
>
> I don't like my pizza's that rich.
> Anyway, along the same lines I think:
>
> merge([[salami, buttonmushroom, mozarella],
> [salami, mozarella, salami, mozarella]], M).
>
> should give
>
> M = [salami, buttonmushroom, mozarella, salami, mozarella]
> M = [salami, mozarella, salami, buttonmushroom, mozarella]
>
> or only the first one if the order /of/ (as opposed to /in/)
> the list matters (see other sub-thread).
> Another posibility is to disallow conflicting orders in the input
> (e.g. salami cannot be before and after mozarella in one list).

So you'd apply a preordering function on the first list then, b4 the actual merge.

Anyways, I'm not really sure what the best "merge" would be, because there are other imaginable conditions where you might want something else. But by providing these distinctions, you make a good case for using this merge as a local standard, or establish a notational convention for describing these distinctions.

Dhu

-- 
???????????????????????????????????????

Can't get good help?  

Contact Fubar the Hack: fubar AT neotext.ca

Area code seven eight zero, Exchange four six six, Local zero one zero nine

Highland terms, Canadian workmanship.

All persons named herein are purely fictional victims
of the Canidian Bagle Breeder's Association.

Save the Bagle! 

Sun Ðhu

???????????????????????????????????????
Received on Sun Sep 04 2005 - 00:50:45 CEST

Original text of this message