[commit: ghc] ghc-8.2: -fspec-constr-keen docs typos [skip ci] (973de1f)

git at git.haskell.org git at git.haskell.org
Wed Mar 29 23:41:57 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/973de1fb7973d467a72cb2e23b5a5961e3dacb5f/ghc

>---------------------------------------------------------------

commit 973de1fb7973d467a72cb2e23b5a5961e3dacb5f
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Mon Mar 27 17:41:41 2017 +0100

    -fspec-constr-keen docs typos [skip ci]
    
    (cherry picked from commit 5025fe2435d030f0c5ecdc2a933c7bfcb3efcb7c)


>---------------------------------------------------------------

973de1fb7973d467a72cb2e23b5a5961e3dacb5f
 docs/users_guide/using-optimisation.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/using-optimisation.rst b/docs/users_guide/using-optimisation.rst
index e56c473..3ca08c9 100644
--- a/docs/users_guide/using-optimisation.rst
+++ b/docs/users_guide/using-optimisation.rst
@@ -584,8 +584,8 @@ list.
 
     :default: off
 
-    If this flag is on, call-patten specialision will specialise a call
-    ``(f (Just x))`` with an explicit constructor agument, even if the argument
+    If this flag is on, call-pattern specialisation will specialise a call
+    ``(f (Just x))`` with an explicit constructor argument, even if the argument
     is not scrutinised in the body of the function. This is sometimes
     beneficial; e.g. the argument might be given to some other function
     that can itself be specialised.



More information about the ghc-commits mailing list