Skip to content

Commit 91ca6c5

Browse files
committed
Basics: use \gls{idris-add-clause}
1 parent 5b2ab25 commit 91ca6c5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Basics.lidr

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ Type the following:
106106
nextWeekday : Day -> Day
107107
```
108108

109-
Then with point on `nextWeekday`, call \mintinline[]{elisp}{idris-add-clause}
110-
(\mintinline[]{elisp}{M-RET d} in Spacemacs).
109+
Then with point on `nextWeekday`, call \gls{idris-add-clause}.
111110

112111
```idris
113112
nextWeekday : Day -> Day
@@ -190,9 +189,8 @@ observing that both sides of the equality evaluate to the same thing, after some
190189
simplification."
191190
\color{black}
192191

193-
(For simple proofs like this, you can call
194-
\mintinline[]{elisp}{idris-add-clause} (\mintinline[]{elisp}{M-RET d}) with the
195-
point on the name (`testNextWeekday`) in the type signature and then call
192+
(For simple proofs like this, you can call \gls{idris-add-clause} with the point
193+
on the name (`testNextWeekday`) in the type signature and then call
196194
\mintinline[]{elisp}{idris-proof-search} (\mintinline[]{elisp}{M-RET p}) with
197195
the point on the resultant hole to have Idris solve the proof for you.)
198196

0 commit comments

Comments
 (0)