Copyright | (c) incertia 2020 |
---|---|
License | MIT |
Maintainer | incertia@incertia.net |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
A typeclass for extensible sums.
The provided instances were inspired from the lens library.
Making your own instances when you actually depend on lens should be as easy
as instance As Foo Bar where asPrism = _Foo
.