You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is fixable, since (->) is hard-wired as infixr 0 in GHC. As you mentioned, adding parentheses around would be the easiest workaround of this issue.
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:
Without parens, the parser thinks you are defining
("runThing" := a) -> IO b
as an unlabeled record.The text was updated successfully, but these errors were encountered: