Skip to content

Commit 71761fb

Browse files
committed
Fix some more typos
1 parent 3b66ed3 commit 71761fb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Basics.lidr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ First, we can evaluate an expression involving `nextWeekday` in a REPL.
168168

169169
We show Idris's responses in comments, but, if you have a computer handy, this
170170
would be an excellent moment to fire up the Idris interpreter under your
171-
favorite Idiris-friendly text editor -- such as Emacs or Vim -- and try this for
171+
favorite Idris-friendly text editor -- such as Emacs or Vim -- and try this for
172172
and try this for yourself. Load this file, `Basics.lidr` from the book's
173173
accompanying Idris sources, find the above example, submit it to the Idris REPL,
174174
and observe the result.
@@ -204,7 +204,7 @@ the point on the resultant hole to have Idris solve the proof for you.)
204204
\todo[inline]{Verify the "main uses" claim.}
205205

206206
Third, we can ask Idris to _generate_, from our definition, a program in some
207-
other, more conventional, programming (C, Javascript and Node are bundled with
207+
other, more conventional, programming (C, JavaScript and Node are bundled with
208208
Idris) with a high-performance compiler. This facility is very interesting,
209209
since it gives us a way to construct _fully certified_ programs in mainstream
210210
languages. Indeed, this is one of the main uses for which Idris was developed.
@@ -439,9 +439,9 @@ return `k`."
439439
> minusTwo (S (S k)) = k
440440

441441
Because natural numbers are such a pervasive form of data, Idris provides a tiny
442-
bit of built-in magic for parsing and printing them: ordinary arabic numerals
442+
bit of built-in magic for parsing and printing them: ordinary Arabic numerals
443443
can be used as an alternative to the "unary" notation defined by the
444-
constructors `S` and `Z`. Idris prints numbers in arabic form by default:
444+
constructors `S` and `Z`. Idris prints numbers in Arabic form by default:
445445

446446
```idris
447447
λΠ> S (S (S (S Z)))
@@ -545,7 +545,7 @@ minus (S k) (S j) = minus k j
545545

546546
\todo[inline]{Verify this.}
547547

548-
The `_` in the first line is a _wilcard pattern_. Writing `_` in a pattern is
548+
The `_` in the first line is a _wildcard pattern_. Writing `_` in a pattern is
549549
the same as writing some variable that doesn't get used on the right-hand side.
550550
This avoids the need to invent a bogus variable name.
551551
\color{black}

src/Preface.lidr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ about the central role of logic in computer science. Manna and Waldinger called
7878
it "the calculus of computer science," while Halpern et al.'s paper _On the
7979
Unusual Effectiveness of Logic in Computer Science_ catalogs scores of ways in
8080
which logic offers critical tools and insights. Indeed, they observe that "As a
81-
matter of fact, logic has turned out to be significiantly more effective in
81+
matter of fact, logic has turned out to be significantly more effective in
8282
computer science than it has been in mathematics. This is quite remarkable,
8383
especially since much of the impetus for the development of logic during the
8484
past one hundred years came from mathematics."

0 commit comments

Comments
 (0)