Re: [Q] How to get rid of {} in lists?
- To: mathgroup@smc.vnet.net
- Subject: [mg10721] Re: [mg10710] [Q] How to get rid of {} in lists?
- From: seanross@worldnet.att.net
- Date: Mon, 2 Feb 1998 00:44:16 -0500
- References: <199801300924.EAA15418@smc.vnet.net.>
Alessandro Rossi wrote:
>
> Hi all: that's my problem...it seems to me very easy but I caan get out
> of it with a solution:
>
> I'd like to put the ordered elements of a list as parameters in a
> function...
>
> e.g.
>
> list={True, False};
> And[list] is not And[True, False]... how can I get rid of {} in order to
> perform the calculation???
>
> thanks in advance
>
> Alessandro
It is difficult to determine exactly what you are asking, but I think
you want the command Sequence. In your case
And[Evaluate[Sequence@@list]]
evaluates to False.
--
Remove the _nospam_ in the return address to respond.