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