document-build-0.2.0.0: src/Document/Build/Name/GitCommitterName.hs
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -Wall #-}
{- | The name @gitCommitterName@, targeting 'String': the name of the committer of a commit.
Any value of the target type has the name, as the identity.
@since 0.2.0.0
-}
module Document.Build.Name.GitCommitterName (
GitCommitterNameLike (..),
) where
import Control.Lens (Optic)
{- | A field or a constructor named @gitCommitterName@.
@since 0.2.0.0
-}
class GitCommitterNameLike p f x x' where
gitCommitterName ::
Optic p f x x' String String
{- | Identity
@since 0.2.0.0
-}
instance (x' ~ String) => GitCommitterNameLike p f String x' where
gitCommitterName =
id
{-# INLINE gitCommitterName #-}