Skip to content

font-lock for certain list comprehensions is broken #1292

Closed
@purcell

Description

@purcell

The following is wrongly interpreted as a quasi-quote:

module Foo where
process = [k|(k,v) <- M.toAscList counts, odd v]

whereas this is fine:

module Foo where
process = [k |(k,v) <- M.toAscList counts, odd v]

(note the space before the |)

screen shot 2016-04-17 at 22 38 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions