Vyxapedia
Element - ÞS
- Sublists
Characters:
Þ
,
S
Description
Sublists of a list.
Overloads
lst
- non-empty sublists of a
Examples
⟨1|2|3⟩ ÞS
=
⟨⟨1⟩|⟨1|2⟩|⟨2⟩|⟨1|2|3⟩|⟨2|3⟩|⟨3⟩⟩
⟨⟩ ÞS
=
⟨⟩
⟨⟨⟩⟩ ÞS
=
⟨⟨⟨⟩⟩⟩
3 ÞS
=
⟨⟨1⟩|⟨1|2⟩|⟨2⟩|⟨1|2|3⟩|⟨2|3⟩|⟨3⟩⟩
`ab` ÞS
=
⟨`a`|`ab`|`b`⟩