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