haskell / haskell/haskell-language-server

Support for backpack signature files (`.hsig`)

Open
#3,088 0 comments 4 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

## Is your enhancement request related to a problem? Please describe.

HLS currently does not seem to support backpack. `.hsig` files. When using with VSCode, I get a parse error in `where` in the signature declaration:

```
signature MySig where
^^^^^ parse error on input ‘where’
```

Furthermore, importing signature modules also produce an error:

```
import MySig
^^^^^ Could not load module ‘MySig’
```

`cabal build` seems to work fine.

## Describe the solution you'd like

Support backpack signatures

## Describe alternatives you've considered

Not using HLS with backpack

## Additional context

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.