Check out Algorithm T in chapter 7.2.1.3 of Knuth, volume 4A part 1. Put your items into a vector, and use Algorithm T to generate the indices of the elements to extract. _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users
- [racket] shortest paths, resource allocation/sched... Geoffrey S. Knauth
- Re: [racket] shortest paths, resource allocat... Stephen Bloch
- Re: [racket] shortest paths, resource allocat... Sam Tobin-Hochstadt
- Re: [racket] shortest paths, resource all... Ryan Culpepper
- Re: [racket] shortest paths, resource... Maurizio Giordano GMAIL
- Re: [racket] shortest paths, reso... Ryan Culpepper
- Re: [racket] shortest paths,... Eli Barzilay
- Re: [racket] shortest pa... Jos Koot
- Re: [racket] shortes... Stephen Bloch
- Re: [racket] shortes... Mark Engelberg
- Re: [racket] shortes... Maurizio Giordano
- Re: [racket] shortest paths, resource all... Veer
- Re: [racket] shortest paths, resource... Geoffrey S. Knauth