Skip to content

Commit c774612

Browse files
committed
refactor: fix the formatting of Lang.ADT.Merge._⊕_
1 parent 4bc1084 commit c774612

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Vatras/Lang/ADT/Merge.agda

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ module Named (F : 𝔽) where
2323
This operations inherits all properties of the variant composition (e.g., commutativity, associativity etc).
2424
-}
2525
_⊕_ : {A} ADT A ADT A ADT A
26-
leaf l ⊕ leaf r = leaf (l +ᵥ r)
27-
leaf l ⊕ (E ⟨ el , er ⟩) = E ⟨ leaf l ⊕ el , leaf l ⊕ er ⟩
28-
(D ⟨ dl , dr ⟩) ⊕ r = D ⟨ dl ⊕ r , dr ⊕ r ⟩
26+
leaf l ⊕ leaf r = leaf (l +ᵥ r)
27+
leaf l ⊕ (E ⟨ el , er ⟩) = E ⟨ leaf l ⊕ el , leaf l ⊕ er ⟩
28+
(D ⟨ dl , dr ⟩) ⊕ r = D ⟨ dl ⊕ r , dr ⊕ r ⟩
2929

3030
⊕-spec : {A} (l r : ADT A) (c : Configuration)
3131
⟦ l ⊕ r ⟧ c ≡ ⟦ l ⟧ c +ᵥ ⟦ r ⟧ c

0 commit comments

Comments
 (0)