Skip to content

Commit f9f71a3

Browse files
committed
Readme fixes.
1 parent 0d8a025 commit f9f71a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if (n % 5, n % 3):
8989
if:
9090
user.email:
9191
send confirmation email(user.email)
92-
user.phone OR user.messenger_id:
92+
user.phone OR user.messenger id:
9393
send confirmation text(user)
9494
```
9595

@@ -129,7 +129,7 @@ for x IN [1..10]: if x < 4
129129
// Or leave out the conditional clause, to loop "while" the guard-clause is true.
130130
131131
n = 12
132-
for if n != 1:
132+
for: if n != 1
133133
if n % 2:
134134
n = n / 2
135135
else:
@@ -175,7 +175,7 @@ Functions, Types and the patterns beneath it all
175175
176176
fun concat([], []): []
177177
fun concat([], [a]): a
178-
fun concat([a, ...restA], b: Array): [a, ...concat(restA, b)]
178+
fun concat([a, ...restA], Array b): [a, ...concat(restA, b)]
179179
180180
// We can then use this function backwards, to query the language for all pair of lists which concat to give a given result.
181181

0 commit comments

Comments
 (0)