[commit: ghc] master: Add missing name for FFI import (fixes #9950) (326989e)

git at git.haskell.org git at git.haskell.org
Mon May 25 14:29:17 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/326989ed06e6ad52d1cc2307be19d21b66b95813/ghc

>---------------------------------------------------------------

commit 326989ed06e6ad52d1cc2307be19d21b66b95813
Author: erdeszt <erdeszt at gmail.com>
Date:   Mon May 25 16:28:43 2015 +0200

    Add missing name for FFI import (fixes #9950)
    
    Signed-off-by: erdeszt <erdeszt at gmail.com>
    
    Reviewed By: bgamari, thomie
    
    Differential Revision: https://phabricator.haskell.org/D902


>---------------------------------------------------------------

326989ed06e6ad52d1cc2307be19d21b66b95813
 docs/users_guide/ffi-chap.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/ffi-chap.xml b/docs/users_guide/ffi-chap.xml
index e7d5a0c..ab099b2 100644
--- a/docs/users_guide/ffi-chap.xml
+++ b/docs/users_guide/ffi-chap.xml
@@ -110,7 +110,7 @@ OK:
 
 <programlisting>
 foreign import ccall interruptible
-   "sleep" :: CUint -> IO CUint
+   "sleep" sleepBlock :: CUint -> IO CUint
 </programlisting>
 
           <literal>interruptible</literal> behaves exactly as



More information about the ghc-commits mailing list