packages feed

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

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

-- | The name @criIsCEO@, which targets @()@. It names a field or constructor of @CRINominee'@.
module ReOC.Name.CriIsCEO (
  CriIsCEOLike (..),
) where

import Control.Lens (Optic)

class CriIsCEOLike p f x x' where
  criIsCEO ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => CriIsCEOLike p f () x' where
  criIsCEO = id