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$
3
  • $\begingroup$ Works on V9.0.1 $\endgroup$ Oct 27, 2014 at 16:51
  • $\begingroup$ Also on v8.0.0. $\endgroup$ Oct 27, 2014 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, 2014 at 16:55

1 Answer 1

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.

$\endgroup$
1
  • $\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, 2014 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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