[Haskell-beginners] Creating beautiful code: can you make this divide-and-conquer implementation of the "tails" function beautiful?

David Place d at vidplace.com
Tue Jun 28 15:25:33 CEST 2011


On Jun 28, 2011, at 7:43 AM, Costello, Roger L. wrote:

> Note: I am trying to clean up this divide-and-conquer algorithm, not create a different algorithm. Sorry that I wasn't clear about this in my initial message.

Perhaps the problem in the code is this choice of approach.  Why would you want to take such a complicated approach to such a trivial problem?  Especially since it's also less efficient.


More information about the Beginners mailing list