haskell / haskell/haskell-language-server
Add code-action to turn derived type-class into its implementation
Aperta
component: hls-class-plugin
type: enhancement
- Lingua principale
- Haskell
- Stelle
- 3k
- Fork
- 455
- Merge medio
- 2g 19h
- PR unite (30g)
- 11
Descrizione
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"
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.