Skip to content

Make Array unlifted?! #537

@sjakobi

Description

@sjakobi

Inspired by https://gitlab.haskell.org/ghc/ghc/-/issues/26525, I wonder if we could simply turn Array into an unlifted type.

newtype Array a = Array { unArray :: SmallArray# a }

Since Array isn't part of our public API, this shouldn't cause any trouble, right?!

(Related: #463)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions