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