摘自{-逆波兰式(revese polish notation, RPN): 操作符出现在操作数的后面,而不是夹在它们中间. 如我们使用 "4 3 +" 而不是 "4 + 3".-}solveRPN :: String -> DoublesolveRPN = head . foldl folding... Read More
posted @ 2015-05-15 22:49 庚武 Views(274) Comments(0) Diggs(0) Edit