packages feed

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

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

-- | The name @high@, which targets @()@. It names a field or constructor of @RiskLevel@.
module ReOC.Name.High (
  HighLike (..),
) where

import Control.Lens (Optic)

class HighLike p f x x' where
  high ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => HighLike p f () x' where
  high = id