[commit: ghc] master: Fix spelling mistake in user guide (#7657). (ca106a1)

David Terei davidterei at gmail.com
Wed Feb 6 09:02:16 CET 2013

Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master



commit ca106a106f79d3d12befa3844b25a8f0d0733b04
Author: David Terei <davidterei at gmail.com>
Date:   Wed Feb 6 00:01:12 2013 -0800

    Fix spelling mistake in user guide (#7657).


 docs/users_guide/safe_haskell.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/safe_haskell.xml b/docs/users_guide/safe_haskell.xml
index 8b777bb..13c4a46 100644
--- a/docs/users_guide/safe_haskell.xml
+++ b/docs/users_guide/safe_haskell.xml
@@ -76,7 +76,7 @@
       being the <literal>unsafePerformIO :: IO a -> a</literal> function. The
       safe language dialect of Safe Haskell disallows the use of such
       functions. This can be useful for a variety of purposes as it makes
-      Haskell code easier to analyze and reason about. It also codifies an
+      Haskell code easier to analyse and reason about. It also codifies an
       existing culture in the Haskell community of trying to avoid using such
       unsafe functions unless absolutely necessary. As such using the safe
       language (through the <option>-XSafe</option> flag) can be thought of as
@@ -189,7 +189,7 @@
       The use of the <option>-XSafe</option> flag to compile the Danger module
       restricts the features of Haskell that can be used to a
       <link linkend="safe-language">safe subset</link>. This includes
-      disallowing <literal>unsafePerfromIO</literal>, Template Haskell, pure
+      disallowing <literal>unsafePerformIO</literal>, Template Haskell, pure
       FFI functions, Generalized Newtype Deriving, RULES and restricting the
       operation of Overlapping Instances. The <option>-XSafe</option> flag also
       restricts the modules can be imported by Danger to only those that are

More information about the ghc-commits mailing list