CONSTANT: N 5
: decompose ( n -- seq )
- N iota [ drop [ 2/ ] [ 1 bitand ] bi ] map nip reverse ;
+ N <iota> [ drop [ 2/ ] [ 1 bitand ] bi ] map nip reverse ;
: bits ( seq -- n )
0 [ [ 2 * ] [ + ] bi* ] reduce ;
unclip decompose append [ 1 bitand ] map ;
: rotate-bits ( seq -- seq' )
- dup length iota [ cut prepend bits ] with map ;
+ dup length <iota> [ cut prepend bits ] with map ;
: ?register ( acc seq -- )
complete rotate-bits