haskell / haskell/haskell-language-server

Add code-action to turn derived type-class into its implementation

Aperta
#653 5 commenti 3 reazioni 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.