casa-reoc-0.1.0.0: src/ReOC/Name/NoOtherReOCRoles.hs
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wall #-}
-- | The name @noOtherReOCRoles@, which targets @()@. It names a field or constructor of @OtherReOCRoles'@.
module ReOC.Name.NoOtherReOCRoles (
NoOtherReOCRolesLike (..),
) where
import Control.Lens (Optic)
class NoOtherReOCRolesLike p f x x' where
noOtherReOCRoles ::
Optic p f x x' () ()
-- | Identity
instance (x' ~ ()) => NoOtherReOCRolesLike p f () x' where
noOtherReOCRoles = id