[commit: ghc] master: Fix copy/paste error in the docs (b2e855d)
Ian Lynagh
igloo at earth.li
Tue Feb 28 01:59:26 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/b2e855df38664af746a6582fcc63abb3701983d2
>---------------------------------------------------------------
commit b2e855df38664af746a6582fcc63abb3701983d2
Author: Ian Lynagh <igloo at earth.li>
Date: Mon Feb 27 12:35:34 2012 +0000
Fix copy/paste error in the docs
>---------------------------------------------------------------
docs/users_guide/ffi-chap.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/docs/users_guide/ffi-chap.xml b/docs/users_guide/ffi-chap.xml
index 34c2b35..2425d82 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
More information about the Cvs-ghc
mailing list