Handbook
Glossary
find-permutation ( ... seq quot: ( ... elt -- ... ? ) -- ... elt/f )
Vocabulary
math
.
combinatorics
Inputs
seq
an
object
quot
a
quotation
with stack effect
( ... elt -- ... ? )
Outputs
elt/f
an
object
Definition
USING:
kernel
math.combinatorics.private
sequences
;
IN:
math.combinatorics
:
find-permutation
( ... seq quot: ( ... elt -- ... ? ) -- ... elt/f )
[
keep
and
]
curry
permutations-quot
map-find
drop
;
inline