MathGroup Archive 1994

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

Search the Archive

Taking brackets off lists

  • To: mathgroup at christensen.Cybernetics.NET
  • Subject: [mg281] Taking brackets off lists
  • From: corcoran (Stephen Corcoran) <corcoran%markov.stats at comlab.oxford.ac.uk>
  • Date: Sun, 4 Dec 1994 17:56:45 +0000

If I have a list like,

list = {1,1,1,2}

how do I find the part of a expression at the level specified by the list?
i.e.

I want exp[[1,1,1,2]],

but exp[[list]] doesn't work.

Thanks,
Stephen





  • Prev by Date: Re: Finding index (easy?)
  • Next by Date: Behaviour of TagUnset
  • Previous by thread: Re: Bugs ... bzzzz
  • Next by thread: Re: Taking brackets off lists