summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-02-27 12:35:34 +0000
committerIan Lynagh <igloo@earth.li>2012-02-27 23:53:53 +0000
commitb2e855df38664af746a6582fcc63abb3701983d2 (patch)
treebcfbcd2432ba04d10dceff4fc7bd1a8c6dfdd2f6
parent014f1e1feee4c85a82f787ef8f01b44072051172 (diff)
downloadhaskell-b2e855df38664af746a6582fcc63abb3701983d2.tar.gz
Fix copy/paste error in the docs
-rw-r--r--docs/users_guide/ffi-chap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/ffi-chap.xml b/docs/users_guide/ffi-chap.xml
index 34c2b35a3a..2425d822c9 100644
--- a/docs/users_guide/ffi-chap.xml
+++ b/docs/users_guide/ffi-chap.xml
@@ -185,7 +185,7 @@ foreign import capi "header.h f" f :: CInt -> IO CInt
import values, rather than functions. For example,
<programlisting>
-foreign import capi "pi.h pi" c_pi :: CDouble
+foreign import capi "pi.h value pi" c_pi :: CDouble
</programlisting>
will work regardless of whether <literal>pi</literal> is