Yes. Also each slice is a sequence. So you could do all the usual things to it. Including but not limited to using another `for` form, applying it to afunction, or destructuring it using `match` and friends.
In these examples I included an extra, "leftover" element to make sure it was handled: #lang racket (define data '(("foo") ("bar") ("baz") ("jaz") ("quux") ("glug") ("EXTRA"))) (for/list ([slice (in-slice 2 data)]) (for/list ([x slice]) x)) (for/list ([slice (in-slice 2 data)]) (apply list slice)) (for/list ([slice (in-slice 2 data)]) (match slice [(list x y) (list x y)] [(list x) (list x)])) All eval to: '((("foo") ("bar")) (("baz") ("jaz")) (("quux") ("glug")) (("EXTRA"))) -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.