partition by parity by Lost_dog

main=interact$unlines.f.lines
f x=x#even++"":x#odd
x#g=[b|a<-[0..7^6],g a,b<-x,show a==b]

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

download

return to the top page