Element - Þx
- All Combinations Without Replacement
Description
All combinations of a list / string, of all lengths, without replacement
Overloads
any
-all (non-empty) combinations of a, of all lengths and all orders, without replacement
Examples
⟨1|2|3⟩ Þx
=⟨⟨1⟩|⟨2⟩|⟨3⟩|⟨1|2⟩|⟨2|1⟩|⟨1|3⟩|⟨3|1⟩|⟨2|3⟩|⟨3|2⟩|⟨1|2|3⟩|⟨1|3|2⟩|⟨2|1|3⟩|⟨2|3|1⟩|⟨3|1|2⟩|⟨3|2|1⟩⟩
`ab` Þx
=⟨`a`|`b`|`ab`|`ba`⟩
⟨⟩ Þx
=⟨⟩
`` Þx
=⟨⟩