Skip to content

Commit 25d2eb5

Browse files
committed
Fix typos
Found via `codespell -L shouldbe`
1 parent a57ce98 commit 25d2eb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žsrc/Chapter4.hsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ class Functor f => Applicative f where
321321
Wow, that's a lot going on again! Where did all these scary creatures
322322
come? But if we look closer, it all looks a bit familiar already.
323323
324-
We now can spot straightaway, that similar to Functors, only types
324+
We now can spot straight away, that similar to Functors, only types
325325
with kind `* -> *` can have an Applicative instance (e.g. Maybe, and
326326
not 'Int' or 'Char'), as we see the same 'f a' argument in the
327327
methods' types.

β€Žtest/Test/Chapter4.hsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ chapter4normal :: Spec
2020
chapter4normal = describe "Chapter4Normal" $ do
2121
describe "Task2: Functor for Secret" $ do
2222
let trap = Trap "it's a trap"
23-
it "doen't affect trap" $
23+
it "doesn't affect trap" $
2424
fmap @(Secret String) @Bool not trap `shouldBe` trap
2525
it "change reward, same type" $
2626
fmap @(Secret String) @Bool not (Reward False) `shouldBe` Reward True

0 commit comments

Comments
Β (0)