Make definition of Tree private

This commit is contained in:
2024-07-16 06:18:06 +02:00
parent 086e98e532
commit eaae27f043
+2 -1
View File
@@ -24,7 +24,8 @@ open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong; modu
open import Relation.Nullary.Construct.Add.Extrema open import Relation.Nullary.Construct.Add.Extrema
open import Relation.Nullary.Decidable.Core open import Relation.Nullary.Decidable.Core
data Tree (l u : Carrier ±) : Set (c ⊔ ℓ₂) where private
data Tree (l u : Carrier ±) : Set (c ⊔ ℓ₂) where
leaf : .(l ≤± u) → Tree l u leaf : .(l ≤± u) → Tree l u
node : (x : Carrier) → Tree l [ x ] → Tree [ x ] u → Tree l u node : (x : Carrier) → Tree l [ x ] → Tree [ x ] u → Tree l u