Paste: Splitting a sequence in half

Author: otoburb
Mode: factor
Date: Tue, 8 Jun 2010 03:13:37
Plain Text |
[| fooSeq | 0 23 fooSeq subseq 24 47 fooSeq subseq ] call

Annotation: one solution

Author: randy7
Mode: factor
Date: Thu, 10 Jun 2010 16:55:00
Plain Text |
: n-split ( seq n -- parts )
    [ dup length ] dip /i <groups> >array ;

New Annotation

Summary:
Author:
Mode:
Body: