diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-06-01 11:30:17 -0700 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-06-03 09:56:36 -0700 |
commit | cd9c5c6678e206ffcda955f66c26c7a4d89519c9 (patch) | |
tree | 7bebe797206f02d3102274f4a7f3b8ac426b68d7 /docs | |
parent | 7ea156ae3e1c66e59935f0eb877ea1a3f3bfd5b9 (diff) | |
download | haskell-cd9c5c6678e206ffcda955f66c26c7a4d89519c9.tar.gz |
Allow Any return in foreign prim, fixes #10460.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate
Reviewers: simonpj, goldfire, austin
Subscribers: bgamari, thomie
Differential Revision: https://phabricator.haskell.org/D935
GHC Trac Issues: #10460
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/ffi-chap.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/users_guide/ffi-chap.xml b/docs/users_guide/ffi-chap.xml index a5ab9e76ca..38db2bf774 100644 --- a/docs/users_guide/ffi-chap.xml +++ b/docs/users_guide/ffi-chap.xml @@ -76,7 +76,8 @@ OK: internal GHC calling convention. The arguments and results must be unboxed types, except that an argument may be of type <literal>Any</literal> (by way of <literal>unsafeCoerce#</literal>) - and the result type is allowed to be an unboxed tuple. + and the result type is allowed to be an unboxed tuple or the + type <literal>Any</literal>. </para> <para> This feature is not intended for |