Element - ƈ
- Choose / random choice / set same / drop while
Characters:
ƈ
Description
Binomial coefficient / choose a random items from b / same except duplicates / drop while
Overloads
num-num
-a choose b (binomial coefficient)
num-str
-choose a random items from b
str-num
-choose b random items from a
str-str
-are the set of characters in the strings the same?
any-fun
-remove each item x from the beginning of a until b(x) returns false
fun-any
-remove each item x from the beginning of b until a(x) returns false
Examples
5 3 ƈ
=10
`abc` `aaccb` ƈ
=1
`a` 3 ƈ
=⟨`a`|`a`|`a`⟩
0 `b` ƈ
=⟨⟩