Function call expression by Lost_dog

m@main=getLine>>=putStrLn.head.foldl(#)["",""]>>m
u@(v:w:x)#y|y:v==")"=(w++[y]):x|v==""=[y]:w:x|y<')'="":u|0<1=('(':w++' ':v++[y]):x

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

download

return to the top page