leap year by Kee

m@main=getLine>>=putStr.g>>m
(%)=rem
g x=x++" is "++(h.read)x++"a leap year.\n"
h x|x%400<1||x%100>0&&x%4<1=""
h x="not "

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

download

return to the top page