summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/safe_haskell.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/safe_haskell.xml b/docs/users_guide/safe_haskell.xml
index 8b777bbed2..13c4a46309 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