Skip to content

Commit e02172a

Browse files
committed
Normalize exercise headings
1 parent 1792869 commit e02172a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Basics.lidr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ existing definition, and `infixl` specifies left-associative fixity.
286286
> testOrb5 = Refl
287287

288288

289-
=== Exercises: 1 star (nandb)
289+
=== Exercise: 1 star (nandb)
290290

291291
Fill in the hole `?nandb_rhs` and complete the following function; then make
292292
sure that the assertions below can each be verified by Idris. (Fill in each of

src/Induction.lidr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Prove the following using induction. You might need previously proven results.
9898
$\square$
9999

100100

101-
=== Exercise: 2 stars, (double_plus)
101+
=== Exercise: 2 stars (double_plus)
102102

103103
Consider the following function, which doubles its argument:
104104

src/Lists.lidr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ return the same bag unchanged.
401401
402402
$\square$
403403
404-
==== Exercise: 3 stars, recommendedM (bag_theorem)
404+
==== Exercise: 3 stars, recommended (bag_theorem)
405405
406406
Write down an interesting theorem `bag_theorem` about bags involving the
407407
functions `count` and `add`, and prove it. Note that, since this problem is
@@ -652,7 +652,7 @@ response into your buffer can be accomplished with C-c C-;.
652652
653653
=== List Exercises, Part 1
654654
655-
==== Exercise: 3 starsM (list_exercises)
655+
==== Exercise: 3 stars (list_exercises)
656656
657657
More practice with lists:
658658
@@ -726,7 +726,7 @@ The following lemma about `leb` might help you in the next proof.
726726
727727
$\square$
728728
729-
==== Exercise: 3 stars, optionalM (bag_count_sum)
729+
==== Exercise: 3 stars, optional (bag_count_sum)
730730
731731
Write down an interesting theorem `bag_count_sum` about bags involving the
732732
functions `count` and `sum`, and prove it. (You may find that the difficulty of
@@ -736,7 +736,7 @@ the proof depends on how you defined `count`!)
736736
737737
$\square$
738738
739-
==== Exercise: 4 stars, advancedM (rev_injective)
739+
==== Exercise: 4 stars, advanced (rev_injective)
740740
741741
Prove that the `rev` function is injective -- that is,
742742
@@ -915,7 +915,7 @@ $\square$
915915
916916
$\square$
917917
918-
==== Exercise: 2 starsM (baz_num_elts)
918+
==== Exercise: 2 stars (baz_num_elts)
919919
920920
Consider the following inductive definition:
921921

0 commit comments

Comments
 (0)