2
$\begingroup$

In Mathematica 10.0.1 this works:

Extract[{a, b, c, d, e}, {{{1, 3}}, {{5, 4}}, {{2}}}]
{{a, c}, {e, d}, {b}}

In Mathematica 7.0.1 it does not. In which version was this syntax introduced?

$\endgroup$
  • $\begingroup$ Works on V9.0.1 $\endgroup$ – Dr. belisarius Oct 27 '14 at 16:51
  • $\begingroup$ Also on v8.0.0. $\endgroup$ – Dr. belisarius Oct 27 '14 at 16:53
  • $\begingroup$ @belisarius Thanks! Since I am not aware of any release between 7.0.1 and 8.0.0 I think I have my answer. Would you consider posting that as such? I think this could be a useful reference for others. $\endgroup$ – Mr.Wizard Oct 27 '14 at 16:55
2
$\begingroup$

I have Mma v.8.0.0 here and it works and gives the same result as v10.

Just as a reference, it works also on v9.0.1.

IDK if there are versions between 7.0.1 and 8.0.0, though.

|improve this answer|||||
$\endgroup$
  • $\begingroup$ The revision history says that there are no public versions between 7.0.1 and 8.0.0 so I am accepting this. $\endgroup$ – Mr.Wizard Oct 27 '14 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.