Handbook
Glossary
all-removals ( n seq -- seqs )
Vocabulary
math
.
extras
Inputs
n
an
object
seq
an
object
Outputs
seqs
an
object
Definition
USING:
kernel
math.combinatorics
sequences
sets
;
IN:
math.extras
::
all-removals
( n seq -- seqs )
seq
length
<iota>
n
over
[
swap
diff
seq
nths
]
curry
map-combinations
;