packages feed

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

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

-- | The name @noRegulatoryAction@, which targets @()@. It names a field or constructor of @RegulatoryHistory'@.
module ReOC.Name.NoRegulatoryAction (
  NoRegulatoryActionLike (..),
) where

import Control.Lens (Optic)

class NoRegulatoryActionLike p f x x' where
  noRegulatoryAction ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => NoRegulatoryActionLike p f () x' where
  noRegulatoryAction = id