Question
Define a parser comment :: Parser () for ordinary Haskell comments that begin with the symbol - and extend to the end of the current line, which is represented by the control character ' $\backslash n^{\prime}$.
Step 1
```haskell symbol :: Char -> Parser Char symbol c = char c <* spaces ``` Show more…
Show all steps
Your feedback will help us improve your experience
Watch the video solution with this free unlock.
EMAIL
PASSWORD