MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Sequence and Or

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34198] Re: Sequence and Or
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 9 May 2002 05:16:00 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <abaf3c$s3n$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

lst = {True, False, True};
Or @@ lst;
seq = Sequence @@ lst;
Or[Evaluate[seq]]

?

Regards
  Jens

DrBob wrote:
> 
> When I evaluate the following...
> 
> {True,False,True}
> Or@@%
> Sequence@@%
> Or[%]
> 
> the outputs are:
> 
> {True,False,True}
> True
> Sequence[True,False,True]
> Sequence[True,False,True]
> 
> while I had expected:
> 
> {True,False,True}
> True
> Sequence[True,False,True]
> True
> 
> What am I missing?
> 
> Bobby Treat


  • Prev by Date: TeX Problems
  • Next by Date: Re: Distinction between subscripts 04 and 4?
  • Previous by thread: Sequence and Or
  • Next by thread: Re: Sequence and Or