all-permutations? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? ) (original) (raw)

all-permutations? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )

Vocabulary
math.combinatorics

Inputs

seq an object
quot a quotation with stack effect ( ... elt -- ... ? )

Outputs

? an object

Definition

USING: math.combinatorics.private sequences ;

IN: math.combinatorics

: all-permutations?
( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
permutations-quot all? ; inline