`slice-at`

http://docs.racket-lang.org/sugar/index.html?q=slice-at#%28def._%28%28lib._sugar%2Flist..rkt%29._slice-at%29%29
 
<http://docs.racket-lang.org/sugar/index.html?q=slice-at#(def._((lib._sugar/list..rkt)._slice-at))>


> On May 17, 2017, at 3:56 PM, Don Green <infodeveloper...@gmail.com> wrote:
> 
> Racket code that could perform this list manipulation?
> (every-n-lists-into-list <n-lists-to-group> '(<in-list>))
> (every-n-lists-into-list 1 '((1) (2))) ;=> '(((1) (2)))
> (every-n-lists-into-list 2 '((1) (2) (3) (4))) ;=> '(((1) (2)) ((3) (4)))
> (every-n-lists-into-list 3 '((1) (2) (3) (4)) (5) (6))) ;=> '(((1) (2) (3)) 
> ((4) (5) (6)))

-- 
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.

Reply via email to