hasgo
hasgo copied to clipboard
Subsequence()
The subsequences function returns the list of all subsequences of the argument.
[a] -> [[a]]
subsequences "abc"
["","a","b","ab","c","ac","bc","abc"]