5 lines
235 B
Text
5 lines
235 B
Text
# Apply Burrows–Wheeler transform
|
||
|
||
Bwt ← ⌅(⊣⍉⍆≡⌟↻⇡⊸⧻$"\x02_\x03"|↘₁↘₋₁⊢⊙◌⍥(⍆⊸≡˜⊂)⤙˜↯""⊸⧻)
|
||
{"banana" "appellee" "abracadabra" "Unusual Uiua"}
|
||
≡(&p$"_ > _ > _"⊸°Bwt⊸Bwt)
|