String Halving by leonid

f=->s{"{#{s[1]?f[s[0,i=-~s.sz/2]]+f[s[i,$$]]:s}}"}
s f[re]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page