Skip to content

Commit b673982

Browse files
EwenBCjespercockx
authored andcommitted
clean commented code
1 parent d539db5 commit b673982

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

src/Agda/Core/Name.agda

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,3 @@ pattern V2suc n p = ⟨ _ ⟩ (Suc (Suc n) ⟨ IsSuc (IsSuc p) ⟩)
9898
pattern Vzero = ⟨ _ ⟩ Zero ⟨ IsZero refl ⟩
9999
pattern Vone = ⟨ _ ⟩ (Suc Zero) ⟨ IsSuc (IsZero refl) ⟩
100100
-------------------------------------------------------------------------------
101-
{-
102-
data CaseComparaison : NameIn α → NameIn α → Set where
103-
GT : {x y : NameIn α} → @0 {{x ≡ Vzero }} → CaseComparaison x y
104-
EQ : {x y : NameIn α} → compare x y ≡ EQ → CaseComparaison x y
105-
LT : {x y : NameIn α} → compare x y ≡ LT → CaseComparaison x y
106-
107-
108-
caseCompare : (x y : NameIn α) → CaseComparaison x y
109-
caseCompare = ?
110-
-- -}

src/Agda/Core/ScopeUtils.agda

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,4 @@ module Shrink where
3737
SubToShrink βRun (⟨ γ ⟩ EmptyR) = idShrink βRun
3838
SubToShrink βRun (⟨ γ ⟩ ConsL x p) = ShKeep x (SubToShrink (rezzUnbind βRun) < p >)
3939
SubToShrink βRun (⟨ γ ⟩ ConsR y p) = ShCons y (SubToShrink (rezzUnbind βRun) < p >)
40-
{-
41-
opaque
42-
unfolding Sub Split SubToShrink splitEmptyLeft
43-
ShrinkEquivLeft : (βRun : Rezz β) (s : Shrink α β) → SubToShrink βRun (ShrinkToSub s) ≡ s
44-
ShrinkEquivLeft βRun ShNil = refl
45-
ShrinkEquivLeft βRun (ShKeep x s) = do
46-
let e = ShrinkEquivLeft (rezzUnbind βRun) s
47-
subst (λ z → SubToShrink βRun (ShrinkToSub (ShKeep x s)) ≡ ShKeep x z ) e {! !}
48-
ShrinkEquivLeft βRun (ShCons x s) = do
49-
let e = ShrinkEquivLeft (rezzUnbind βRun) s
50-
subst (λ z → SubToShrink βRun (ShrinkToSub (ShCons x s)) ≡ ShCons x z ) e {! !}
51-
-}
52-
{- End of module Shrink -}
40+
{- End of module Shrink -}

0 commit comments

Comments
 (0)