haskell / haskell/haskell-language-server
Add code-action to turn derived type-class into its implementation
Offen
component: hls-class-plugin
type: enhancement
- Vorherrschende Sprache
- Haskell
- Sterne
- 3k
- Forks
- 455
- Ø Merge
- 2 T. 19 Std.
- Gemergte PRs (30 T.)
- 11
Beschreibung
E.g. for a code-snippet
```haskell
data Bar = Bar deriving (Show)
```
I would like to be able to generate roughly what this `deriving` desugars to.
Ideally, (don't know about the specifics) only the implementation that are not default, e.g.
```haskell
data Bar = Bar
instance Show Bar where
show Bar = "Bar"
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.