add each-with2 to shuffle
parent
3ca39859cc
commit
f683fb506a
|
@ -21,3 +21,7 @@ IN: shuffle
|
||||||
|
|
||||||
: map-with2 ( obj obj list quot -- newseq )
|
: map-with2 ( obj obj list quot -- newseq )
|
||||||
swap [ with2 roll ] map 3nip ; inline
|
swap [ with2 roll ] map 3nip ; inline
|
||||||
|
|
||||||
|
: each-with2 ( obj obj list quot -- )
|
||||||
|
swap [ with2 roll ] map 3drop ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue