Skip to content

Add prelude op to allocate an uninitialised array #1627

Open

Description

Required for CQCL/guppylang#616.

Signature forall T, n. () -> array<n, T>. Accessing an such an uninitialised array element is undefined behaviour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

rustPull requests that update Rust code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions