cubix-compdata
Copyright(c) 2024 James Koppel
LicenseBSD3
Stabilityexperimental
Portabilitynon-portable (GHC Extensions)
Safe HaskellNone
LanguageHaskell2010

Data.Comp.Multi.ConstrName

Description

This module lifts ConstrNameHF to sums of higher-order functors.

Synopsis

Documentation

class ConstrNameHF (f :: Fragment) where Source #

Get the constructor name of a higher-order functor value.

Methods

constrNameHF :: forall (e :: Family) l. f e l -> String Source #

Instances

Instances details
All ConstrNameHF fs => ConstrNameHF (Sum fs) Source # 
Instance details

Defined in Data.Comp.Multi.ConstrName

Methods

constrNameHF :: forall (e :: Family) l. Sum fs e l -> String Source #

Orphan instances

All ConstrNameHF fs => ConstrNameHF (Sum fs) Source # 
Instance details

Methods

constrNameHF :: forall (e :: Family) l. Sum fs e l -> String Source #