Source code on Github
{-# OPTIONS --cubical-compatible --safe #-}
module Reflection.Argument.Visibility where
open import Data.String as String using (String)
open import Relation.Nullary
open import Relation.Binary
open import Relation.Binary.PropositionalEquality
open import Agda.Builtin.Reflection public using (Visibility)
open Visibility public
_≟_ : DecidableEquality Visibility
visible ≟ visible = yes refl
hidden ≟ hidden = yes refl
instance′ ≟ instance′ = yes refl
visible ≟ hidden = no λ()
visible ≟ instance′ = no λ()
hidden ≟ visible = no λ()
hidden ≟ instance′ = no λ()
instance′ ≟ visible = no λ()
instance′ ≟ hidden = no λ()