classy-effects-th-0.1.0.0: Automatic compliance with the classy-effects protocols
Copyright(c) 2023 Yamada Ryo
(c) 2010-2011 Patrick Bahr
LicenseMPL-2.0 (see the file LICENSE)
Maintainerymdfield@outlook.jp
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Effect.Class.TH.HFunctor

Description

This module provides TemplateHaskell functions to derive an instance of HFunctor.

The definitions come from Data.Comp.Multi.Derive in the compdata-0.13.0 package.

Synopsis

Documentation

makeHFunctor :: Name -> Q [Dec] Source #

Derive an instance of HFunctor for a type constructor of any higher-order kind taking at least two arguments.