summaryrefslogtreecommitdiff
path: root/compiler/stranal
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>2014-09-19 19:27:34 +0200
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2014-09-19 19:27:34 +0200
commit5e300d58f69ec79c647f8a97b0e8fa0f588d2662 (patch)
tree903ee41389b2f3d5d48875e9de62cbe8a8ad9a7f /compiler/stranal
parentd48fed4e61afc2b51ac3a513290a66d89c929059 (diff)
downloadhaskell-5e300d58f69ec79c647f8a97b0e8fa0f588d2662.tar.gz
Typos
Diffstat (limited to 'compiler/stranal')
-rw-r--r--compiler/stranal/WwLib.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stranal/WwLib.lhs b/compiler/stranal/WwLib.lhs
index 82c310710f..11f97eab07 100644
--- a/compiler/stranal/WwLib.lhs
+++ b/compiler/stranal/WwLib.lhs
@@ -679,7 +679,7 @@ There are a few cases where the W/W transformation is told that something
returns a constructor, but the type at hand doesn't really match this. One
real-world example involves unsafeCoerce:
foo = IO a
- foo = unsafeCoere c_exit
+ foo = unsafeCoerce c_exit
foreign import ccall "c_exit" c_exit :: IO ()
Here CPR will tell you that `foo` returns a () constructor for sure, but trying
to create a worker/wrapper for type `a` obviously fails.