sequences: make nth3-unsafe simpler.
parent
00a9fcbc85
commit
e36c76cadf
|
@ -865,10 +865,7 @@ PRIVATE>
|
||||||
[ nth-unsafe ] [ [ 1 + ] dip nth-unsafe ] 2bi ; inline
|
[ nth-unsafe ] [ [ 1 + ] dip nth-unsafe ] 2bi ; inline
|
||||||
|
|
||||||
: nth3-unsafe ( n seq -- a b c )
|
: nth3-unsafe ( n seq -- a b c )
|
||||||
[ nth-unsafe ]
|
[ nth2-unsafe ] [ [ 2 + ] dip nth-unsafe ] 2bi ; inline
|
||||||
[ [ 1 + ] dip nth-unsafe ]
|
|
||||||
[ [ 2 + ] dip nth-unsafe ]
|
|
||||||
2tri ; inline
|
|
||||||
|
|
||||||
: (binary-reduce) ( ... seq start quot: ( ... elt1 elt2 -- ... newelt ) from to -- ... value )
|
: (binary-reduce) ( ... seq start quot: ( ... elt1 elt2 -- ... newelt ) from to -- ... value )
|
||||||
#! We can't use case here since combinators depends on
|
#! We can't use case here since combinators depends on
|
||||||
|
|
Loading…
Reference in New Issue