f=sum.map read u=unwords main=getContents>>=mapM((\l->(\i->putStrLn$u(take i l)++'|':u(drop i l))$until(\i->f(take i l)==f(drop i l))(+1)0).words).lines
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page