Skip to content
Open

typo #59

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions even-more-functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type (``int``) yet their *values* are different. Paul and Sam are both of the
same "human" type, yet their "values" (beliefs, jobs, weight...) are different.

The function's body, what it actually does, is what makes the difference between
two functions of the same type. Just like how many coffees you can by with 1
two functions of the same type. Just like how many coffees you can buy with 1
dollar or 23 dollars.

Same thing for functions: What they do, their bodies, is what differentiate two
Expand Down Expand Up @@ -76,7 +76,7 @@ Functions of the same type are values of this type! This means: You can declare
a variable of a given function-type and assign any function of the same type to
it. You can pass functions as parameters to other functions, you can also have
functions that return other functions as results... And this, my friend, offers
a lot of beautiful, intellignt and powerful opportunities! Let me show you some
a lot of beautiful, intelligent and powerful opportunities! Let me show you some
examples (don't worry, this doesn't result in Skynet... quite...).

**Example 1**: Write a program which when given a slice of integers will return
Expand Down