haskell / haskell/haskell-language-server

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

Đang mở
#653 5 bình luận 3 reaction 0 người được giao Xem trên GitHub
component: hls-class-plugin type: enhancement
Ngôn ngữ chính
Haskell
Star
3k
Fork
455
Merge trung bình
4 ngày 3 giờ
Pull request đã merge (30 ngày)
12

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.