Can someone please tell me what is wrong here? I can't figure out where the error is. I'm new to haskell, so I don't know every rule of syntax atm.
parseS (s:xs) | all isDigit s = (xs, Lit (read s))
| s == " " = parseS xs
| s == "-" = let (remainder, e) = parseS xs in (remainder, Sub e)
| s == "+" = (xs'', Sum e e') where
(xs', e) = parseS xs
(xs'', e') = parseS xs'
| s == "*" = (xs'', Mul e e') where <- parse error on input on this line
(xs', e) = parseS xs
(xs'', e') = parseS xs'
{}button to format any blocks of code, or indent with four spaces for the same effect. We can't run your screenshot as code.