haskell / haskell/error-messages

`TypeApplications` not suggested when used with function arrow `->`

Open
#520 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
19
PR merge metrics
No merged PRs in 30d

Description

```
GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help
Prelude> :t fmap @(Either _)

:1:1: error:
Pattern syntax in expression context: fmap@(Either _)
Did you mean to enable TypeApplications?
Prelude> :t fmap @((->) _)

:1:9: error: parse error on input ‘->’
```

Enabling `-XTypeOperators` doesn't help either.

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.