diff options
author | Gabor Greif <ggreif@gmail.com> | 2019-01-22 12:07:47 +0100 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-01-23 14:07:28 -0500 |
commit | bb2acfe0ec4c196a87218709ee28327845d62dc4 (patch) | |
tree | 5b7c314caa4944997e7faa51ba3fd9c5328fc913 /libraries | |
parent | c9a02dfc32ea4304c1c0d02bd8091fd5d045741f (diff) | |
download | haskell-bb2acfe0ec4c196a87218709ee28327845d62dc4.tar.gz |
A few typofixes
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/base/Data/Either.hs | 4 | ||||
-rw-r--r-- | libraries/base/Data/Foldable.hs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/Data/Either.hs b/libraries/base/Data/Either.hs index 58987a3910..afd676d415 100644 --- a/libraries/base/Data/Either.hs +++ b/libraries/base/Data/Either.hs @@ -192,7 +192,7 @@ either _ g (Right y) = g y -- lefts :: [Either a b] -> [a] lefts x = [a | Left a <- x] -{-# INLINEABLE lefts #-} -- otherwise doesnt get an unfolding, see #13689 +{-# INLINEABLE lefts #-} -- otherwise doesn't get an unfolding, see #13689 -- | Extracts from a list of 'Either' all the 'Right' elements. -- All the 'Right' elements are extracted in order. @@ -207,7 +207,7 @@ lefts x = [a | Left a <- x] -- rights :: [Either a b] -> [b] rights x = [a | Right a <- x] -{-# INLINEABLE rights #-} -- otherwise doesnt get an unfolding, see #13689 +{-# INLINEABLE rights #-} -- otherwise doesn't get an unfolding, see #13689 -- | Partitions a list of 'Either' into two lists. -- All the 'Left' elements are extracted, in order, to the first diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs index a7d57f7e62..9a031212f0 100644 --- a/libraries/base/Data/Foldable.hs +++ b/libraries/base/Data/Foldable.hs @@ -706,7 +706,7 @@ GHC used to proceed like this: mapM_ <big> (build g) - = { Defintion of mapM_ } + = { Definition of mapM_ } foldr ((>>) . <big>) (return ()) (build g) = { foldr/build rule } |