packages feed

casa-reoc-0.1.0.0: src/ReOC/Name/CrpIsCEO.hs

{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wall #-}

-- | The name @crpIsCEO@, which targets @()@. It names a field or constructor of @CRPNominee'@.
module ReOC.Name.CrpIsCEO (
  CrpIsCEOLike (..),
) where

import Control.Lens (Optic)

class CrpIsCEOLike p f x x' where
  crpIsCEO ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => CrpIsCEOLike p f () x' where
  crpIsCEO = id