diff options
author | tocic <tocic@protonmail.ch> | 2023-04-23 12:18:40 +0300 |
---|---|---|
committer | tocic <tocic@protonmail.ch> | 2023-04-23 12:18:40 +0300 |
commit | c0d9f51090b404dfc947eb39d67cb5e4c603b18c (patch) | |
tree | 6e82c2ec5c85bdb7bcf5521daf87e03417225360 /libraries/base/Control/Monad.hs | |
parent | e826cdb213e9b900dfc8f604220d8f3538b98763 (diff) | |
download | haskell-wip/fix/base_typos.tar.gz |
Fix doc typos in libraries/basewip/fix/base_typos
Diffstat (limited to 'libraries/base/Control/Monad.hs')
-rw-r--r-- | libraries/base/Control/Monad.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Control/Monad.hs b/libraries/base/Control/Monad.hs index d2d0e29e43..b3dee03703 100644 --- a/libraries/base/Control/Monad.hs +++ b/libraries/base/Control/Monad.hs @@ -101,11 +101,11 @@ import GHC.Num ( (-) ) -- -- ==== __Examples__ -- --- Common uses of 'guard' include conditionally signaling an error in +-- Common uses of 'guard' include conditionally signalling an error in -- an error monad and conditionally rejecting the current choice in an -- 'Alternative'-based parser. -- --- As an example of signaling an error in the error monad 'Maybe', +-- As an example of signalling an error in the error monad 'Maybe', -- consider a safe division function @safeDiv x y@ that returns -- 'Nothing' when the denominator @y@ is zero and @'Just' (x \`div\` -- y)@ otherwise. For example: |