The code below is for a calculator I have written. I am trying to handle parse error and token error but I keep receiving the same error on ∖s -> tokens s How do I fix this? Why do I keep getting this error?
{- main -}
main = do cs <- getContents
putStr $ unlines $ map show $
map (∖s -> tokens s >= parse >= eval) $ lines cs
csandputStrshould start on exactly the same column.