Make definition of Tree private

This commit is contained in:
Nathan van Doorn 2024-07-16 06:18:06 +02:00
parent 086e98e532
commit eaae27f043
1 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,7 @@ 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
private
data Tree (l u : Carrier ±) : Set (c ℓ₂) where 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