Skip to content

Commit

Permalink
Lists: adds colons before code snippets #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mdimjasevic authored and wenkokke committed Mar 12, 2019
1 parent 3c71a27 commit 17f8a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plfa/Lists.lagda
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ inductive hypothesis. As usual, the inductive hypothesis is indicated by a recu
invocation of the proof, in this case `++-assoc xs ys zs`.

Recall that Agda supports [sections][plfa.Induction#sections].
Applying `cong (x ∷_)` promotes the inductive hypothesis
Applying `cong (x ∷_)` promotes the inductive hypothesis:

xs ++ (ys ++ zs) ≡ (xs ++ ys) ++ zs

to the equality
to the equality:

x ∷ (xs ++ (ys ++ zs)) ≡ x ∷ ((xs ++ ys) ++ zs)

Expand Down

0 comments on commit 17f8a16

Please sign in to comment.