packages feed

document-build-0.2.0.0: src/Document/Build/Name/ImageResolutionUnits.hs

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

{- | The name @imageResolutionUnits@, targeting 'String': the units of the resolution of an image.

Any value of the target type has the name, as the identity.

@since 0.2.0.0
-}
module Document.Build.Name.ImageResolutionUnits (
  ImageResolutionUnitsLike (..),
) where

import Control.Lens (Optic)

{- | A field or a constructor named @imageResolutionUnits@.

@since 0.2.0.0
-}
class ImageResolutionUnitsLike p f x x' where
  imageResolutionUnits ::
    Optic p f x x' String String

{- | Identity

@since 0.2.0.0
-}
instance (x' ~ String) => ImageResolutionUnitsLike p f String x' where
  imageResolutionUnits =
    id
  {-# INLINE imageResolutionUnits #-}