sort by first occurrence by koyama41

main=interact$unlines.foldr(\x y->x:f(==x)y++f(/=x)y)[].lines
f=filter

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

download

return to the top page