Bug introduced in 10.0 and fixed in 10.1.0
In Version 10, the GeneralUtilities
package contain some useful functions. AssociatePairs
is one of those functions included in the package and advertised to work as follows:
Needs["GeneralUtilities`"]
?AssociatePairs
Well, here is an input that matches a List
of pairs:
lis = Table[{k, k^3}, {k, 2, 10}];
Now,
AssociatePairs[lis]
Gives the following error:
Well, the included PairQ
function disagrees with this assertion:
AllTrue[lis, PairQ]
True
So, is this a bug? Since I can't get any list of pairs to work with this function. I'm on Windows 8.1
GeneralUtilities
supposed to be anofficial
thing? or some kind of still-in-work package? If it is official, where to find official documentation about it? When I type reference.wolfram.com/search/?q=GeneralUtilities I do not see it? $\endgroup$