diff options
author | David Terei <davidterei@gmail.com> | 2013-02-06 00:01:12 -0800 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2013-02-06 00:01:12 -0800 |
commit | ca106a106f79d3d12befa3844b25a8f0d0733b04 (patch) | |
tree | 093edfcbd674dbce19c24b12114fe7ec6aec5d5c /docs | |
parent | 9a9a2a72612cb404eb8396d7eb5ea6a09bd2addb (diff) | |
download | haskell-ca106a106f79d3d12befa3844b25a8f0d0733b04.tar.gz |
Fix spelling mistake in user guide (#7657).
Diffstat (limited to 'docs')
-rw-r--r-- | 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 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 |