packages feed

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

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

-- | The name @queensland@, which targets @()@. It names a field or constructor of @AustralianState@.
module ReOC.Name.Queensland (
  QueenslandLike (..),
) where

import Control.Lens (Optic)

class QueenslandLike p f x x' where
  queensland ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => QueenslandLike p f () x' where
  queensland = id