packages feed

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

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

-- | The name @newSouthWales@, which targets @()@. It names a field or constructor of @AustralianState@.
module ReOC.Name.NewSouthWales (
  NewSouthWalesLike (..),
) where

import Control.Lens (Optic)

class NewSouthWalesLike p f x x' where
  newSouthWales ::
    Optic p f x x' () ()

-- | Identity
instance (x' ~ ()) => NewSouthWalesLike p f () x' where
  newSouthWales = id