aboutsummaryrefslogtreecommitdiff
path: root/challenge-289/conor-hoekstra/ch-2.bqn
blob: b1f1b9a21168dbf7a0ca73a1d9e769308e864a15 (plain)
1
2
3
4
5
6
7
8
9
10
# For up to date code:
# https://github.com/codereport/bqn-code/blob/main/pwc/289-2.bqn

Words, Unwords  •Import "../lib/string.bqn"

Shuffle  •rand.Deal
Jumble  Unwords·Shuffle(¯11↓⊢)¨Words

# Tests
•Show Jumble "This is a bunch a text that should be jumbled"