Skip to content

Commit

Permalink
Fix a few minor typos (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
sp1ff authored Jan 8, 2025
1 parent f2d1b45 commit b3264e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Tutorial/Intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Welcome to my Idris 2 tutorial. I'll try and treat as many aspects
of the Idris 2 programming language as possible here.
All `.md` files in here a literate Idris files: They consist of
All `.md` files in here are literate Idris files: They consist of
Markdown (hence the `.md` ending), which is being pretty printed
by GitHub together with Idris code blocks, which can be
type checked and built by the Idris compiler (more on this later).
Expand Down Expand Up @@ -90,7 +90,7 @@ There are, of course, also some disadvantages:
### Dependent Types

Idris is a strongly, statically typed programming language. This
means, that every Idris expression is given a *type* (for instance:
means that every Idris expression is given a *type* (for instance:
integer, list of strings, boolean, function from integer to boolean, etc.)
and types are verified at compile time to rule out certain
common programming errors.
Expand Down Expand Up @@ -270,7 +270,7 @@ maxBits8 = 255

The first line can be read as: "We'd like to declare (nullary)
function `maxBits8`. It is of type `Bits8`". This is
called the *function declaration*: We declare, that there
called the *function declaration*: we declare that there
shall be a function of the given name and type. The second line
reads: "The result of invoking `maxBits8` should be `255`."
(As you can see, we can use integer literals for other integral
Expand Down

0 comments on commit b3264e0

Please sign in to comment.