[Tutor] Recursive combinations?
Wed, 15 Aug 2001 20:03:10 +0800
I tried it out - doesn't do _quite_ what I wanted, but with that (beautiful)
code I can change it to do what I want! It just needs to remove reverse
orders (eg. (1,2) and (2,1), and remove like elements in pairs (eg. (1,1)).
> Excuses for the overly functional style - though it's quite neat in
> this case :-).
Well I love it :)
> Hmm. I just thought of ways to write that as a lambda. And I've never even
> written Lisp, and no Haskell in years. Time to go write Python again :)
> (Hi all, was disinterested for a while because of being busy etc, think
> I'll be back now)