Skip to main content
8 events
when toggle format what by license comment
Apr 13, 2017 at 12:55 history edited CommunityBot
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Jun 23, 2015 at 22:44 comment added Mr.Wizard @Gordon Okay. Thanks for the Accept!
Jun 23, 2015 at 14:59 vote accept Gordon Coale
Jun 23, 2015 at 14:53 comment added Gordon Coale @Mr.Wizard I think you understood me first time. :) Essentially overloading in this instance is providing multiple definitions of the same function, that differ by type.
Jun 23, 2015 at 13:55 comment added Mr.Wizard @Gordon I may mistake what you mean by "overloading" -- the use of fn within GroupBy indeed enables recursion. The definition fn[{{x_}}] := x provides a termination parameter for the recursion.
Jun 23, 2015 at 13:43 comment added Gordon Coale could you just give me a hint on what the overloading of fn enables? Does it enable the recursion for list2 or is it just a dummy reduction function for GroupBy?
Jun 23, 2015 at 12:46 comment added SquareOne Should have thought about that ! Terse and much more readable.
Jun 23, 2015 at 11:56 history answered Mr.Wizard CC BY-SA 3.0