File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ class Functor f => Applicative f where
321321Wow, that's a lot going on again! Where did all these scary creatures
322322come? 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
325325with kind `* -> *` can have an Applicative instance (e.g. Maybe, and
326326not 'Int' or 'Char'), as we see the same 'f a' argument in the
327327methods' types.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ chapter4normal :: Spec
2020chapter4normal = 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
You canβt perform that action at this time.
0 commit comments