IPv6 prefix representation by koyama41

main=interact$concat.r.("ip6.arpa.":).t.f
r=reverse
t=take 8
f=g.span(/=':')
g(x,y)=t(r("0000"++x)>>=(:".")):f(drop 1y)

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

download

return to the top page