packages feed

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

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

-- | The name @applicantIsPrimaryContact@, which targets @()@. It names a field or constructor of @PrimaryContact'@.
module ReOC.Name.ApplicantIsPrimaryContact (
  ApplicantIsPrimaryContactLike (..),
) where

import Control.Lens (Optic)

class ApplicantIsPrimaryContactLike p f x x' where
  applicantIsPrimaryContact ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => ApplicantIsPrimaryContactLike p f () x' where
  applicantIsPrimaryContact = id