google / google/haskell-indexer

Discover/link positional [de]construction

Open
#104 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
103
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Given a code like this it would be great to get cross-references:
```haskell
data Foo = Foo { x :: Int, y :: Double }

foo = Foo 1 2

bar (Foo x _) = x
```

E.g., when one clicks on `x` in data definition both `foo` and `bar` are useful places to link to because they "use" `x`. For bonus points it would be great to not link `_` in `bar` when `y` is clicked.

As a workaround, clicking on the data constructor name currently works, so this issue is a pure usability enhancement, not a particularly critical enabler.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.