Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Upgrading
type Upgrade v w a = Upgrade' (v == w) v w a Source #
This constraint specifies that a value of type a
can be upgraded
from version v
to version w
.
upgrade :: forall v w a. Upgrade v w a => a v -> a w Source #
Upgrade from a lower to a higher version by calling adapt
on all
the intermediary steps.