Skip to content

Commit 0023be4

Browse files
authored
Merge pull request #168 from MRID0007/fix-grammatical-errors
Fix grammatical and syntax errors in course materials
2 parents 1a779c1 + ea5d5b2 commit 0023be4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_chapters/javascript1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ class Person:
11191119
self.occupation = occupation
11201120

11211121
@property
1122-
def greeting():
1122+
def greeting(self):
11231123
return f"Hi, my name's {self.name} and I {self.occupation}!"
11241124

11251125
def say_hello(self):

_chapters/monad.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ they all take a common parameter, e.g. a line break character.
399399
```haskell
400400
greet linebreak = "Dear Gentleperson,"++linebreak
401401
body sofar linebreak = sofar ++ linebreak ++ "It has come to my attention that… " ++ linebreak
402-
signoff sofar linebreak = sofar ++ linebreak ++ "Your’s truly," ++ linebreak ++ "Tim" ++ linebreak
402+
signoff sofar linebreak = sofar ++ linebreak ++ "Yours truly," ++ linebreak ++ "Tim" ++ linebreak
403403
putStrLn $ (greet >>= body >>= signoff) "\r\n"
404404
```
405405

0 commit comments

Comments
 (0)