+
Skip to content

Remove unstable heap representation details from GHC.Exts #212

@bgamari

Description

@bgamari

We propose to remove the following exports from GHC.Exts:

data BCO#
mkApUpd0#      :: BCO# -> (# a #)
newBCO#        :: ByteArray# -> ByteArray# -> Array# a -> Int# -> ByteArray# -> State# s -> (# State# s, BCO# #)

These functions expose extremely low-level interfaces which are likely to leak unstable implementation details to the user. To avoid future breakage, we propose that they be only accessible via ghc-internal after a deprecation period of one GHC release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedApproved by CLC votebase-4.21Implemented in base-4.21 (GHC 9.12)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载