Comparing two numbers by henkma

m@main=getLine>>=putStrLn.f.lex>>m
f[(a,b)]=a++' ':toEnum(61+signum(read a-read b)):b

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

download

return to the top page