Timeline for "Unflattening" a list
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 16, 2020 at 9:23 | history | edited | CommunityBot | Commonmark migration | |
| Apr 14, 2020 at 7:23 | comment | added | b3m2a1 | (Just to put it here, too) The reason f leaks is that you've destroyed the Temporary attribute | |
| Apr 13, 2017 at 12:56 | history | edited | CommunityBot | replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/ | |
| Apr 4, 2014 at 10:46 | comment | added | Leonid Shifrin | @halirutan Welcome :) Actually, the minimal change would've been just using SetAttributes[f, Listable] in place of Attributes[f]={Listable}, but of course there are many ways, as usual in M. | |
| Apr 4, 2014 at 0:47 | comment | added | halirutan | @LeonidShifrin I posted an alternative which hopefully doesn't leak any more. Thanks for pinging me on this! | |
| Apr 4, 2014 at 0:45 | history | edited | halirutan | CC BY-SA 3.0 | added 339 characters in body |
| Apr 3, 2014 at 17:45 | comment | added | Leonid Shifrin | A memory / symbol leak has been discovered for your code - which is otherwise very neat and elegant, here. Perhaps, it is a good idea to update to one of the alternatives posted there, or some other one? | |
| Aug 15, 2013 at 0:12 | history | edited | halirutan | CC BY-SA 3.0 | added 17 characters in body |
| Aug 14, 2013 at 16:31 | comment | added | bobthechemist | Adding to the nerdiness, can we make unflatten into a nestedRotate by setting f[_] := l1[[++i /. Length@l1 + 1 -> 1]]; or something similar? | |
| Aug 14, 2013 at 3:20 | comment | added | T.T. | @halirutan Nice. | |
| Aug 14, 2013 at 3:19 | vote | accept | T.T. | ||
| Aug 14, 2013 at 2:37 | history | answered | halirutan | CC BY-SA 3.0 |