Syntax coloring in list comprehension expressions
Closed this issue · 1 comments
jmayr71 commented
Syntax coloring for list comprehension expressions is not working properly if there is a single entry in the expression part without any other characters like spaces or brackets.
Example: head ([x|(x,y) <- zip [0..] $ map (fib) [0..], n==y || y > n])
Coloring stops after x|
If a space or other characters are added coloring works again correctly.
Example: head ([ x |(x,y) <- zip [0..] $ map (fib) [0..], n==y || y > n]) is colored correctly.
lierdakil commented
Duplicate of #86. See also what GHC documentation has to say on the topic