8000 Use `generic-data` instead of `generic-deriving` · Issue #363 · kowainik/summoner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use generic-data instead of generic-deriving #363
Closed
@chshersh

Description

@chshersh

Currently, usage of generic-deriving requires to implement orphan instances. generic-data has a different design and it's much easier to use it. Also, once we drop support for all GHC below 8.6.5, we can even use DerivingVia with generic-data:

data Config = Config
    { ...
    } deriving (Semigroup, Monoid) via Generically Config

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0