Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] fix markup in two tiny places #3616

Merged
merged 1 commit into from Mar 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions doc/user-manual/language/irrelevance.lagda.rst
Expand Up @@ -168,8 +168,7 @@ What can't be done to irrelevant arguments
Cannot pattern match against irrelevant argument of type Nat
when checking that the pattern zero has type Nat

**Example 4.** We also can't match on an irrelevant record (see
:ref:`record-types`).
**Example 4.** We also can't match on an irrelevant record (see :ref:`record-types`).

.. code-block:: agda

Expand Down Expand Up @@ -225,7 +224,7 @@ Record fields (see :ref:`record-types`) can be marked as irrelevant by prefixing
.prop1 : n + m ≡ n * m + 2
.prop2 : suc m ≤ n

**Example 2.** For any type ``A``, we can define a `squashed' version ``Squash A`` where all elements are equal. ::
**Example 2.** For any type ``A``, we can define a 'squashed' version ``Squash A`` where all elements are equal. ::

record Squash (A : Set) : Set where
constructor squash
Expand Down