haskell / haskell/haskell-language-server

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

未关闭
#653 5 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
component: hls-class-plugin type: enhancement
主要语言
Haskell
星标
3k
派生
455
平均合并
4 天 3 小时
30 天内合并 PR
12

描述

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"
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。