Skip to content

Commit 96557fd

Browse files
committed
Small changes to TD3 and TD4
1 parent de61035 commit 96557fd

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

slides/course-03.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ Let's combine functions:
451451

452452
---
453453

454-
# `Applicative`
454+
# Applicative
455455

456456
<!-- exdown-skip -->
457457
```hs
@@ -473,7 +473,7 @@ Nothing
473473

474474
---
475475

476-
# `Applicative`
476+
# Applicative
477477

478478
<!-- exdown-skip -->
479479
```hs
@@ -500,7 +500,7 @@ Just 3
500500

501501
---
502502

503-
# `Applicative`
503+
# Applicative
504504

505505
<!-- exdown-skip -->
506506
```hs

slides/course-04.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Typeclasses bear similarities with Java interfaces, but:
196196
- Typeclasses are more general because they support multiple type parameters
197197

198198
```hs
199-
class (MonadIO m) => MonadLogger m where
199+
class MonadIO m => MonadLogger m where
200200
log :: String -> m ()
201201

202202
-- | Generic REST GET interface
@@ -491,7 +491,9 @@ data Authenticated
491491
-- @type@ defines aliases (shortcuts)
492492
type UserWithAuthStatus a = User
493493

494-
authenticate' :: User -> String -> Either String (UserWithAuthStatus Authenticated)
494+
authenticate' :: User
495+
-> String
496+
-> Either String (UserWithAuthStatus Authenticated)
495497
authenticate' = undefined
496498
```
497499

0 commit comments

Comments
 (0)