[Squeak] Newbie permutations
Duane Maxwell
dmaxwell at san.rr.com
Wed Apr 10 04:47:25 UTC 2002
From: "Bijan Parsia" <bparsia at email.unc.edu>
> > > On Tue, 9 Apr 2002, Duane Maxwell wrote:
> > >
> > >>> | foo |
> > >>> foo := OrderedCollection new.
> > >>> #(1 3 5) permutationsDo: [:each | foo add: each].
> [snip]
>
> Cheers,
> Bijan Parsia.
Hey - don't pin that version on me! I'm the one who got it right the first
time!
-- Duane
More information about the Squeak-dev
mailing list
|