sequences: make nth3-unsafe simpler.

John Benediktsson 2012-09-05 10:52:44 -07:00
parent cf8f263fe6
commit 462b216006
1 changed files with 1 additions and 4 deletions

View File

@ -865,10 +865,7 @@ PRIVATE>
[ nth-unsafe ] [ [ 1 + ] dip nth-unsafe ] 2bi ; inline
: nth3-unsafe ( n seq -- a b c )
[ nth-unsafe ]
[ [ 1 + ] dip nth-unsafe ]
[ [ 2 + ] dip nth-unsafe ]
2tri ; inline
[ nth2-unsafe ] [ [ 2 + ] dip nth-unsafe ] 2bi ; inline
: (binary-reduce) ( ... seq start quot: ( ... elt1 elt2 -- ... newelt ) from to -- ... value )
#! We can't use case here since combinators depends on