summaryrefslogtreecommitdiff
path: root/docs/users_guide/ffi-chap.rst
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-07-23 14:13:16 -0400
committerBen Gamari <ben@smart-cactus.org>2017-07-23 15:47:26 -0400
commit2dff2c7fbb5aa68445e617d691451c0427fad0a5 (patch)
tree104e4e6cb9fa87e679700215fe18c3e41a715caa /docs/users_guide/ffi-chap.rst
parentc9451959d8796ee5458cd0666dd2bc2114ac10d7 (diff)
downloadhaskell-2dff2c7fbb5aa68445e617d691451c0427fad0a5.tar.gz
Fix more documentation wibbles
Fixes #14020, #14016, #14015, #14019
Diffstat (limited to 'docs/users_guide/ffi-chap.rst')
-rw-r--r--docs/users_guide/ffi-chap.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/users_guide/ffi-chap.rst b/docs/users_guide/ffi-chap.rst
index c40b623800..c653596646 100644
--- a/docs/users_guide/ffi-chap.rst
+++ b/docs/users_guide/ffi-chap.rst
@@ -4,10 +4,13 @@ Foreign function interface (FFI)
================================
.. index::
- single: -XForeignFunctionInterface
single: Foreign function interface
single: interfacing with native code
+.. ghc-flag:: -XForeignFunctionInterface
+
+ Allow use of the Haskell foreign function interface.
+
GHC (mostly) conforms to the Haskell Foreign Function Interface, whose
definition is part of the Haskell Report on
`http://www.haskell.org/ <http://www.haskell.org/>`__.