haskell / haskell/error-messages

Language Extensions vs. Plain Haskell 98/2010/...

Open
#9 7 comments 1 reaction 0 assignees View on GitHub
status:Composing error message tool:GHC type:error-message
Dominant language
No language data
Stars
76
Forks
19
PR merge metrics
No merged PRs in 30d

Description

After reading the first few issues, I think it would be nice if there were guidelines on **when** to recommend enabling language extensions in the error messages.

e.g.: I think the examples in #6 and #7 should be handled differently:
- #6
should recommend `ScopedTypeVariables`, since it's the obvious solution.
- #7
should only recommend `TypeApplications` if it is already enabled and stick to type signatures otherwise, since it doesn't need the extension.

wdyt?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.