| Portability | non-portable (GHC Extensions) |
|---|---|
| Stability | experimental |
| Maintainer | Tom Hvitved <[email protected]> |
| Safe Haskell | None |
Data.Comp.MultiParam.Desugar
Description
This modules defines the Desugar type class for desugaring of terms.
Documentation
class (HDifunctor f, HDifunctor g) => Desugar f g whereSource
The desugaring term homomorphism.
Instances
| (HDifunctor f, HDifunctor g, :<: f g) => Desugar f g | Default desugaring instance. |
| (Desugar f h, Desugar g h) => Desugar (:+: f g) h |
desugarA :: (HDifunctor f', HDifunctor g', DistAnn f p f', DistAnn g p g', Desugar f g) => Term f' :-> Term g'Source
Lift desugaring to annotated terms.