Skip to content

:= and :=! too losely bound #4

Open
@3noch

Description

@3noch

I'm not sure it's even possible to fix this but you'll notice that when defining a record with function types, you must use parenthesis like this:

type MyRec = R ( "runThing" := (a -> IO b) )

Without parens, the parser thinks you are defining ("runThing" := a) -> IO b as an unlabeled record.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions