Skip to content

GHC FFI documentation refers to deprecated ArrayArray#

Location of documentation issue: GHC User's Guide, section 6.17.2.1. Unlifted FFI Types

The example using Rts.h involves ArrayArray#, which is now (essentially) deprecated. It should be updated to use an Array# or SmallArray.

Additionally, I believe it would now be reasonable to remove the references to ArrayArray# in the list of supported unlifted FFI types and the table of read/write safety.

Environment

  • GHC version used (if appropriate):
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information