binary alnum symbol by notogawa

import Char
m@main=getLine>>=putStrLn.f>>m
f x|not$all isAscii x="(bin)"|all(\c->g c||c==' ')x="(alnum)"|all(not.g)x="(sym)"|0<1="normal"
g=isAlphaNum

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

download

return to the top page