math.combinatorics: fix map>assoc-combinations (shouldn't have been locals).
parent
345b5bb678
commit
3ca65a2b47
|
@ -194,7 +194,7 @@ PRIVATE>
|
|||
: filter-combinations ( ... seq k quot: ( ... elt -- ... ? ) -- ... newseq )
|
||||
selector [ each-combination ] dip ; inline
|
||||
|
||||
:: map>assoc-combinations ( ... seq k quot: ( ... elt -- ... key value ) exemplar -- ... assoc )
|
||||
: map>assoc-combinations ( ... seq k quot: ( ... elt -- ... key value ) exemplar -- ... assoc )
|
||||
[ combinations-quot ] dip map>assoc ; inline
|
||||
|
||||
: all-combinations ( seq k -- seq' )
|
||||
|
|
Loading…
Reference in New Issue