sequences: simplify (map-find).

char-rename
John Benediktsson 2017-02-07 19:42:58 -08:00
parent f4ccfa0f71
commit b51617db16
1 changed files with 1 additions and 2 deletions

View File

@ -1011,8 +1011,7 @@ PRIVATE>
<PRIVATE
: (map-find) ( seq quot find-quot -- result elt )
[ [ f ] 2dip [ [ nip ] dip call dup ] curry ] dip call
[ [ drop f ] unless ] dip ; inline
[ [ f ] 2dip [ nip ] prepose [ dup ] compose ] dip call nip ; inline
PRIVATE>