Copyright | (c) 2011 Patrick Bahr Tom Hvitved |
---|---|
License | BSD3 |
Maintainer | Tom Hvitved <[email protected]> |
Stability | experimental |
Portability | non-portable (GHC Extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Data.Comp.Desugar
Description
This modules defines the Desugar
type class for desugaring of terms.
Synopsis
- class (Functor f, Functor g) => Desugar (f :: Type -> Type) (g :: Type -> Type) where
- desugar :: forall (f :: Type -> Type) (g :: Type -> Type). Desugar f g => Term f -> Term g
- desugarA :: forall (f' :: Type -> Type) (g' :: Type -> Type) (f :: Type -> Type) p (g :: Type -> Type). (Functor f', Functor g', DistAnn f p f', DistAnn g p g', Desugar f g) => Term f' -> Term g'
Documentation
class (Functor f, Functor g) => Desugar (f :: Type -> Type) (g :: Type -> Type) where Source #
The desugaring term homomorphism.
Minimal complete definition
Nothing