Skip to content

Commit 0de57ed

Browse files
author
Henrik Kirk
committed
Typo - missing spaces
1 parent fe4a339 commit 0de57ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

slides/07/error-handling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ type Result<'T,'TError> =
229229

230230
#### Extending this to our general case
231231

232-
```fsharp[1-6|8-10|11-13]
232+
```fsharp [1-6|8-10|11-13]
233233
type Success = Sucesss
234234
type Errors =
235235
| DBError
@@ -257,7 +257,7 @@ let ourUseCase2 input: Result<Success, Errors list> =
257257

258258
#### Return and Bind
259259

260-
```fsharp[1-4|6-12]
260+
```fsharp [1-4|6-12]
261261
// Return
262262
type Bricks = {desc: string; numBricks: int}
263263
let ok = Ok {desc = "A Castle"; numBricks = 2133}
@@ -335,7 +335,7 @@ let validName (str: string) =
335335

336336
####
337337

338-
```fsharp
338+
```fsharp [2|4,6,8|2,10]
339339
type person = {email: string; name: string}
340340
let validatePerson input: Result<Person, string> =
341341
if validEmail (fst input) then

0 commit comments

Comments
 (0)