Re: List operations-Stable Marriage


Pranam Kolari (kolari1@umbc.edu)
Thu, 06 Mar 2003 00:39:16 -0500


To add to my previous mail.. you can always do something like
[+(Man,Woman)|Tail] to match variables.

-Pranam Kolari

Pranam Kolari wrote:

> The appending of the items in the from +(Man,Woman) happens only when
> the predicate is coming out of recursion .. i.e when the items are
> popped from
> the stack, So you should not have any problems.
>
> -Pranam Kolari
>
>
> anjali1 wrote:
>
>> The list of pairings for the couples if expressed as say
>> [adam+eve,tom+mary...], then how does one perform list operations on
>> such a list? I mean, how to access the just adam or eve or tom etc
>> from the list? As in how does one access the first or the last
>> element of all the lists in the couples lists? Please suggest.
>> Thanks.
>> Anjahli.
>>
>>
>
>



This archive was generated by hypermail 2.0b3 on Thu Mar 06 2003 - 00:39:32 EST