#emacs #lisp does someone know how to make a list into a nested list of N elemen...

@mousebot@todon.nl

#emacs #lisp

does someone know how to make a list into a nested list of N elements?
like if i have '(1 2 3 4 5 6 7), i would like to make '((1 2 3 4) (5 6 7)), i.e. N = 4.

the idea is to make a nested list of rows for a table.

Edit: solved: seq-partition, seq-split, and -partition-all do the trick. i should read the implementations when im less tired. curious to see how you build them.