New answers tagged


The difference between your two examples is that one uses packed arrays and the other doesn't. The lists generated by Range are, by default, packed. << Developer` PackedArrayQ /@ {{1, 2, 3, 4}, Range[4]} (* {False, True} *) There is a bug, where if the sublists in the array fed to TreeForm are packed, then the function doesn't behave properly: ...

Top 50 recent answers are included