diff options
Diffstat (limited to 'rpn.hs')
-rwxr-xr-x | rpn.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ clarifySymbol s = do | |||
69 | 69 | ||
70 | isKnownSymbol :: String -> Bool | 70 | isKnownSymbol :: String -> Bool |
71 | isKnownSymbol s = or [ | 71 | isKnownSymbol s = or [ |
72 | s `elem` ["+", "-", "*", "/", "±", "pm", "e"], | 72 | s `elem` ["+", "-", "*", "/", "±", "+-", "e"], |
73 | isJust $ (maybeRead s :: Maybe Double) | 73 | isJust $ (maybeRead s :: Maybe Double) |
74 | ] | 74 | ] |
75 | 75 | ||