packages feed

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

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

-- | The name @personArn@, which targets @()@. It names a field or constructor of @Field@.
module ReOC.Name.PersonArn (
  PersonArnLike (..),
) where

import Control.Lens (Optic)

class PersonArnLike p f x x' where
  personArn ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => PersonArnLike p f () x' where
  personArn = id