generic-lens-core-2.2.1.0: Generically derive traversals, lenses and prisms.
Copyright (C) 2020 Csongor Kiss
License BSD3
Maintainer Csongor Kiss <kiss.csongor.kiss@gmail.com>
Stability experimental
Portability non-portable
Safe Haskell None
Language Haskell2010

Data.Generics.Internal.Families.Has

Description

Documentation

type family HasCtorP (ctor :: Symbol ) f :: Bool where ... Source #

Equations

HasCtorP ctor ( C1 (' MetaCons ctor _ _) _) = ' True
HasCtorP ctor (f :+: g) = HasCtorP ctor f || HasCtorP ctor g
HasCtorP ctor ( D1 m f) = HasCtorP ctor f
HasCtorP ctor _ = ' False

type family GTypes (rep :: Type -> Type ) :: [ Type ] where ... Source #