Skip to content

Commit 2b7fe61

Browse files
[fixes #2175] Documentation misc. typos etc. for RC1 (#2183)
* missing comma! * corrected reference to `README.Design.Decidability` * typo: capitalisation * updated `installation-guide` * added word to `NonZero` section heading * Run workflows on any PR * Add merge-group trigger to workflows --------- Co-authored-by: MatthewDaggitt <[email protected]>
1 parent c2f883f commit 2b7fe61

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ Non-backwards compatible changes
504504
and `Codata.Guarded.Stream.Relation.Binary.Pointwise`, the proofs
505505
called `lookup` have been renamed `lookup⁺`.
506506

507-
#### Changes to `Data.(Nat/Integer/Rational)` proofs of `NonZero`/`Positive`/`Negative` to instance arguments
507+
#### Changes to `Data.(Nat/Integer/Rational)` proofs of `NonZero`/`Positive`/`Negative` to use instance arguments
508508

509509
* Many numeric operations in the library require their arguments to be non-zero,
510510
and various proofs require their arguments to be non-zero/positive/negative etc.
@@ -2761,7 +2761,7 @@ Additions to existing modules
27612761
* Added new definitions and proofs to `Data.Nat.Primality`:
27622762
```agda
27632763
Composite : ℕ → Set
2764-
composite? : Decidable composite
2764+
composite? : Decidable Composite
27652765
composite⇒¬prime : Composite n → ¬ Prime n
27662766
¬composite⇒prime : 2 ≤ n → ¬ Composite n → Prime n
27672767
prime⇒¬composite : Prime n → ¬ Composite n

README.agda

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module README where
77
--
88
-- Authors: Nils Anders Danielsson, Matthew Daggitt, Guillaume Allais
99
-- with contributions from Andreas Abel, Stevan Andjelkovic,
10-
-- Jean-Philippe Bernardy, Peter Berry, Bradley Hardy Joachim Breitner,
10+
-- Jean-Philippe Bernardy, Peter Berry, Bradley Hardy, Joachim Breitner,
1111
-- Samuel Bronson, Daniel Brown, Jacques Carette, James Chapman,
1212
-- Liang-Ting Chen, Dominique Devriese, Dan Doel, Érdi Gergő,
1313
-- Zack Grannan, Helmut Grohne, Simon Foster, Liyang Hu, Jason Hu,

notes/installation-guide.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Installation instructions
33

44
Note: the full story on installing Agda libraries can be found at [readthedocs](http://agda.readthedocs.io/en/latest/tools/package-system.html).
55

6-
Use version v1.7.2 of the standard library with Agda 2.6.3.
6+
Use version v2.0 of the standard library with Agda 2.6.4.
77

88
1. Navigate to a suitable directory `$HERE` (replace appropriately) where
99
you would like to install the library.
1010

11-
2. Download the tarball of v1.7.2 of the standard library. This can either be
11+
2. Download the tarball of v2.0 of the standard library. This can either be
1212
done manually by visiting the Github repository for the library, or via the
1313
command line as follows:
1414
```
15-
wget -O agda-stdlib.tar https://github.com/agda/agda-stdlib/archive/v1.7.2.tar.gz
15+
wget -O agda-stdlib.tar https://github.com/agda/agda-stdlib/archive/v2.0.tar.gz
1616
```
1717
Note that you can replace `wget` with other popular tools such as `curl` and that
18-
you can replace `1.7.2` with any other version of the library you desire.
18+
you can replace `2.0` with any other version of the library you desire.
1919

2020
3. Extract the standard library from the tarball. Again this can either be
2121
done manually or via the command line as follows:
@@ -26,7 +26,7 @@ Use version v1.7.2 of the standard library with Agda 2.6.3.
2626
4. [ OPTIONAL ] If using [cabal](https://www.haskell.org/cabal/) then run
2727
the commands to install via cabal:
2828
```
29-
cd agda-stdlib-1.7.2
29+
cd agda-stdlib-2.0
3030
cabal install
3131
```
3232

@@ -40,7 +40,7 @@ Use version v1.7.2 of the standard library with Agda 2.6.3.
4040
6. Register the standard library with Agda's package system by adding
4141
the following line to `$HOME/.agda/libraries`:
4242
```
43-
$HERE/agda-stdlib-1.7.2/standard-library.agda-lib
43+
$HERE/agda-stdlib-2.0/standard-library.agda-lib
4444
```
4545

4646
Now, the standard library is ready to be used either:

src/Relation/Nullary/Decidable/Core.agda

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ private
3535
-- reflects the boolean result. This definition allows the boolean
3636
-- part of the decision procedure to compute independently from the
3737
-- proof. This leads to better computational behaviour when we only care
38-
-- about the result and not the proof. See README.Decidability for
39-
-- further details.
38+
-- about the result and not the proof. See README.Design.Decidability
39+
-- for further details.
4040

4141
infix 2 _because_
4242

0 commit comments

Comments
 (0)