Element - Ṅ
- Integer partitions / First Truthy Non-Negative Integer
Characters:
Ṅ
Description
Integer partitions / join by space
Overloads
num
-integer_partitions(a) (integer partitions)
any
-" ".join(a) (join by space)
fun
-first truthy non-negative integer where a is truthy
Examples
5 Ṅ
=⟨⟨1|1|1|1|1⟩|⟨2|1|1|1⟩|⟨3|1|1⟩|⟨2|2|1⟩|⟨4|1⟩|⟨3|2⟩|⟨5⟩⟩
`hello` Ṅ
=`h e l l o`
⟨1|2|3⟩ Ṅ
=`1 2 3`