| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Versioning.Upgrade
Documentation
class Adapt (v :: V) (w :: V) (a :: V -> Type) where Source #
Adapt from a version to another
Minimal complete definition
class Upgrade (v :: V) (w :: V) (a :: V -> Type) where Source #
Upgrade from a lower to a higher version by calling adapt on all
the intermediary steps.
You do not need to define any instance.
They are derived automatically if all the intermediary
Adapt instances are defined.
Minimal complete definition