remove last since peek already does the same thing
parent
0cdd57f2a9
commit
067c98163f
|
@ -15,8 +15,6 @@ IN: sequences-contrib
|
|||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
: last ( seq -- elt ) [ length 1- ] keep nth ;
|
||||
|
||||
: (rtrim*) ( seq quot -- newseq )
|
||||
over length 0 > [
|
||||
2dup >r last r> call
|
||||
|
|
Loading…
Reference in New Issue