Move unclip-last to sequences
parent
234242e631
commit
fa1938eda1
|
@ -127,8 +127,6 @@ M: echelon-dispatch-engine engine>quot
|
|||
1 slot { tuple-layout } declare
|
||||
5 slot ; inline
|
||||
|
||||
: unclip-last [ 1 head* ] [ peek ] bi ;
|
||||
|
||||
M: tuple-dispatch-engine engine>quot
|
||||
[
|
||||
picker %
|
||||
|
|
|
@ -670,6 +670,9 @@ PRIVATE>
|
|||
: unclip ( seq -- rest first )
|
||||
[ rest ] [ first ] bi ;
|
||||
|
||||
: unclip-last ( seq -- rest last )
|
||||
[ 1 head* ] [ peek ] bi ;
|
||||
|
||||
: unclip-slice ( seq -- rest first )
|
||||
[ rest-slice ] [ first ] bi ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue