summaryrefslogtreecommitdiff
path: root/docs/users_guide/exts/ffi.rst
diff options
context:
space:
mode:
authorTrevis Elser <trevis@flipstone.com>2022-05-29 01:19:12 -0400
committerBen Gamari <ben@well-typed.com>2022-08-09 18:32:04 +0000
commitde0b4a7d752c6af009ac2a34a14ccef76cc65f4d (patch)
tree77acb8ab30f73953f43a36cca4da289b61cd8269 /docs/users_guide/exts/ffi.rst
parentd71a20514546e0befe6e238d0658cbaad5a13996 (diff)
downloadhaskell-wip/telser/docs-extension-status.tar.gz
Updates language extension documentationwip/telser/docs-extension-status
Adding a 'Status' field with a few values: - Deprecated - Experimental - InternalUseOnly - Noting if included in 'GHC2021', 'Haskell2010' or 'Haskell98' Those values are pulled from the existing descriptions or elsewhere in the documentation. While at it, include the :implied by: where appropriate, to provide more detail. Fixes #21475
Diffstat (limited to 'docs/users_guide/exts/ffi.rst')
-rw-r--r--docs/users_guide/exts/ffi.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/exts/ffi.rst b/docs/users_guide/exts/ffi.rst
index eed9f5a348..b490ac662d 100644
--- a/docs/users_guide/exts/ffi.rst
+++ b/docs/users_guide/exts/ffi.rst
@@ -12,6 +12,8 @@ Foreign function interface (FFI)
:since: 6.8.1
+ :status: Included in :extension:`Haskell2010`, :extension:`GHC2021`
+
Allow use of the Haskell foreign function interface.
GHC (mostly) conforms to the Haskell Foreign Function Interface as specified
@@ -288,6 +290,8 @@ Primitive imports
:since: 6.12.1
+ :status: InternalUseOnly
+
With :extension:`GHCForeignImportPrim`, GHC extends the FFI with an additional
calling convention ``prim``, e.g.: ::