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